X-Git-Url: http://gitweb.pgornicz.com/gitweb.cgi?a=blobdiff_plain;f=src%2FGameStates%2FGameState.h;h=74dfab1bf2a9493cdc38432224aec97726743c35;hb=e268f6ef72bca3f090ad46451fbe66ee5b31c066;hp=13e0d7856981db4f804ad23b83656de69cd3b37d;hpb=ad9f1fb6bdfc51df61a7fb52d607ca0c0bceca4c;p=physics.git diff --git a/src/GameStates/GameState.h b/src/GameStates/GameState.h index 13e0d78..74dfab1 100644 --- a/src/GameStates/GameState.h +++ b/src/GameStates/GameState.h @@ -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 . + */ + #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