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

potionexpirationevent.h

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

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