17 lines
424 B
Java
17 lines
424 B
Java
package de.ctdo.crashtest.game;
|
|
|
|
public interface IStatemachine {
|
|
void addListener(StatemachineListener listener);
|
|
void reset();
|
|
Statemachine.state getCurrentState();
|
|
void setNewState(Statemachine.state newState);
|
|
int getStateChangeCounter();
|
|
void handleInput(char input);
|
|
int getTimerSecondsLast();
|
|
|
|
|
|
void startTimer(int seconds);
|
|
void stopTimer();
|
|
void pauseTimer(boolean pause);
|
|
}
|