1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-10-13 18:10:41 +00:00

Remove commented-out code

This commit is contained in:
Nicolas Braud-Santoni 2016-05-05 19:40:28 +02:00
commit eb128e65a4
162 changed files with 2092 additions and 6594 deletions

View file

@ -55,7 +55,7 @@ public:
StateObject();
virtual ~StateObject();
void action(int id, int state);
virtual void applyState(){}
virtual void removeState();
virtual void update(float dt);
@ -75,19 +75,19 @@ public:
StateManager();
~StateManager();
void clearStateObjects();
virtual void applyState (const std::string &state) {}
virtual void removeState (std::string state);
void enqueueJumpState (const std::string &state, bool force = false, bool staged = false);
bool isStateJumpPending();
void pushState(const std::string &state);
void popState();
void popAllStates();
StateData *getState(const std::string &state);
StateData *getTopStateData();
@ -120,7 +120,7 @@ protected:
typedef std::map<std::string, StateObject*> StateObjectMap;
StateObjectMap stateObjects;
private:
void jumpState (const std::string &state); // call enqueueJumpState
};