|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Player<B extends Block<B,E>,E extends GameEntity<B,E>>
This interface will be implemented for any class that should represent a player in the game.
This class is a generic that takes the general block type and the general entity type for each game.
Nested Class Summary | |
---|---|
static class |
Player.GameStatus
This enum is used by the gameStatus method. |
static class |
Player.PanelLoc
This enum specifies the different panel locations that the player will be asked to set up. |
Method Summary | |
---|---|
Player.GameStatus |
gameStatus()
Returns one of the three constants above telling what the status of the game is. |
java.awt.Container |
getGameStatusPanel(Player.PanelLoc loc)
This method returns a GUI container that shows extra information in your game. |
Methods inherited from interface edu.trinity.cs.gamecore.GameEntity |
---|
followLinks, getEditPropertiesPanel, getImage, getLocation, getUpdateTime, partialSizeX, partialSizeY, setLocation, update |
Method Detail |
---|
Player.GameStatus gameStatus()
java.awt.Container getGameStatusPanel(Player.PanelLoc loc)
loc
- This integer specifies which side of the display the panel is being requested for.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |