|
Game of Life 1.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Listener interface for GameOfLifeControls. The idea behind this interface is that the controls can be replaced by something else for e.g. smart phones and PDA's.
GameOfLifeControls| Method Summary | |
void |
nextButtonClicked(GameOfLifeControlsEvent e)
The Next button is clicked. |
void |
shapeSelected(GameOfLifeControlsEvent e)
A new shape is selected. |
void |
speedChanged(GameOfLifeControlsEvent e)
A new speed is selected. |
void |
startStopButtonClicked(GameOfLifeControlsEvent e)
The Start/Stop button is clicked. |
void |
zoomChanged(GameOfLifeControlsEvent e)
A new cell size is selected. |
| Method Detail |
public void startStopButtonClicked(GameOfLifeControlsEvent e)
e - event objectpublic void nextButtonClicked(GameOfLifeControlsEvent e)
e - event objectpublic void speedChanged(GameOfLifeControlsEvent e)
e - event objectpublic void zoomChanged(GameOfLifeControlsEvent e)
e - event objectpublic void shapeSelected(GameOfLifeControlsEvent e)
e - event object
|
Game of Life 1.5 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This API descibes the Game of Life program, written by Edwin Martin. The source code is available online too.
Copyright 1996-2004 Edwin Martin <edwin@bitstorm.org>.