1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-04 06:54:39 +00:00

Remove commented-out code

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

View file

@ -44,7 +44,7 @@ int StateMachine::getPrevState()
{
return prevState;
}
void StateMachine::perform(int state, float time)
{
//debugLog("in perform");
@ -52,7 +52,7 @@ void StateMachine::perform(int state, float time)
prevState = currentState;
nextState = state;
//debugLog("onExitState");
// do this to prevent scripts from repeating endlessly when running main loops
enqueuedState = STATE_NONE;
@ -63,9 +63,9 @@ void StateMachine::perform(int state, float time)
nextState = STATE_NONE;
//debugLog("onActionInit");
onEnterState(currentState);
//debugLog("done");
}
}
void StateMachine::setState(int state, float time, bool force)
{
@ -95,7 +95,7 @@ void StateMachine::onEnterState(int state)
void StateMachine::onExitState(int state)
{
}
void StateMachine::stopState(int state)
{
onExitState(state);