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

thirsthungerevent.h

00001 /***************************************************************************
00002                           thirsthungerevent.h  -  description
00003                              -------------------
00004     begin                : Thu Apr 8 2004
00005     copyright            : (C) 2004 by Daroth-U
00006     email                : daroth-u@ifrance.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 THIRST_HUNGER_EVENT_H
00019 #define THIRST_HUNGER_EVENT_H
00020 
00021 #include "../constants.h"
00022 #include "event.h"
00023 
00024 
00029 class Creature;
00030 class Scourge;
00031   
00032 class ThirstHungerEvent : public Event  {
00033 
00034 private:
00035   Creature * creature;
00036   Scourge * scourge;          
00037 
00038 public:
00039 
00040   void execute();    
00041   
00042   ThirstHungerEvent(Date currentDate, Date timeOut, Creature *c, Scourge *scourge, int nbExecutionsToDo);  
00043   ThirstHungerEvent();
00044   virtual ~ThirstHungerEvent();  
00045   
00046 };
00047 
00048 #endif

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