Main Page | Class Hierarchy | Alphabetical List | Data Structures | Directories | File List | Data Fields

statemodexpirationevent.h

00001 
00002 /***************************************************************************
00003                           statemodexpirationevent.h  -  description
00004                              -------------------
00005     begin                : Thu Apr 8 2004
00006     copyright            : (C) 2004 by Gabor Torok
00007     email                : cctorok@yahoo.com
00008  ***************************************************************************/
00009 
00010 /***************************************************************************
00011  *                                                                         *
00012  *   This program is free software; you can redistribute it and/or modify  *
00013  *   it under the terms of the GNU General Public License as published by  *
00014  *   the Free Software Foundation; either version 2 of the License, or     *
00015  *   (at your option) any later version.                                   *
00016  *                                                                         *
00017  ***************************************************************************/
00018 
00019 #ifndef STATE_MOD_EXPIRATION_EVENT_H
00020 #define STATE_MOD_EXPIRATION_EVENT_H
00021 
00022 #include "../constants.h"
00023 #include "../creature.h"
00024 #include "event.h"
00025 
00026 
00031 class Creature;
00032 class Session;
00033   
00034 class StateModExpirationEvent : public Event  {
00035 
00036 private:
00037   Creature *creature;
00038   int stateMod;
00039   Session *session;
00040 
00041 public:
00042 
00043   void execute();
00044   void executeBeforeDelete();
00045   
00046   StateModExpirationEvent(Date currentDate, Date timeOut, Creature *c, int stateMod, Session *session, int nbExecutionsToDo);
00047   StateModExpirationEvent();
00048   virtual ~StateModExpirationEvent();  
00049   
00050 };
00051 
00052 #endif

Generated on Thu Jun 16 21:50:43 2005 for scourge by  doxygen 1.4.0