|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IUpdatableComponent
Interface defines a updatable component.
| Method Summary | |
|---|---|
void |
gameRender(Graphics gScr)
Force the panel to render itself. |
void |
gameUpdate()
Force the panel to update its state. |
void |
testClick(Point p)
Test if there was a mouse click on the component |
void |
testKeyPress(KeyEvent e)
Check the updatable components if the key press was in one of them |
| Method Detail |
|---|
void testClick(Point p)
e - void testKeyPress(KeyEvent e)
e - void gameRender(Graphics gScr)
gScr - Graphics used for the renderingvoid gameUpdate()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||