wrp: game state changing
[physics.git] / src / GameStates / GameState.h
index 13e0d78..74dfab1 100644 (file)
@@ -1,7 +1,26 @@
+/*
+ *  Copyright (C) 2008 Patrik Gornicz, Gornicz_P (at) hotmail (dot) com.
+ *
+ *  This program is free software: you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation, either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ */
+
 #ifndef GAMESTATE_H
 #define GAMESTATE_H
 
+
 /// ***** Header Class *****
+
 class GameState
 {
   protected:
@@ -13,6 +32,9 @@ class GameState
     virtual void handleInput(bool=false) const = 0;
     virtual void update(float, bool=false) const = 0;
     virtual void draw(bool=false) const = 0;
+
+    virtual bool pushMe() const;
+    virtual bool popMe() const;
 };
 
 #endif // GAMESTATE_H