00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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