00001 // ///////////////////////////////////////////////////////////////////////////// 00002 // 00003 // Name: InitState.h 00004 // Author: Michael Bartsch (ZCCdark203) 00005 // 00006 // Desc : Declaration of the InitState class. 00007 // 00008 // License: Copyright (C) 2009 Michael Bartsch and Contributors 00009 // 00010 // This program is free software: you can redistribute it 00011 // and/or modify it under the terms of the zlib/libpng License. 00012 // See main.cpp for conditions of distribution and use. 00013 // 00014 // ///////////////////////////////////////////////////////////////////////////// 00015 00016 // Include files 00017 #ifndef __INITSTATE_H__ 00018 #define __INITSTATE_H__ 00019 00020 // Include files 00021 #include "../dependencies.h" 00022 #include "../core/GameState.h" 00023 00024 00025 // InitState class 00030 class InitState : public GameState 00031 { 00032 public: 00033 00034 // Initialisation, deinitialisation and control... 00036 InitState(); 00038 ~InitState(); 00039 00041 void init(); 00043 void clear(); 00044 00047 void update(f32 deltaTime); 00049 void render(); 00050 }; 00051 00052 #endif