|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IGameController
Control the execution of the game from within an Activity: switch to other activity, quit, restart.
Method Summary | |
---|---|
boolean |
isActivitySwitched()
Has switchToActivity(IActivity) been called since the start
of this event distribution cycle? |
void |
quitGame()
Quit the game intentionally. |
void |
restartGame()
Restart the game from the beginning. |
void |
switchToActivity(IActivity newActivity)
Tell the simulator to run a new activity instead of the current activity. |
Method Detail |
---|
void switchToActivity(IActivity newActivity)
newActivity
- another activity.boolean isActivitySwitched()
switchToActivity(IActivity)
been called since the start
of this event distribution cycle?
void quitGame()
void restartGame()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |