|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.lip6.sma.simulacion.app.map.MapMultiCellController
public class MapMultiCellController
This class defines keys that are used to move on the map.
Field Summary | |
---|---|
private MapMultiCellGameController |
mGameController
Game controller. |
private MapMultiCellModel |
mModel
Game model. |
private MapMultiCellPanel |
mPane
The panel under control |
Constructor Summary | |
---|---|
MapMultiCellController(MapMultiCellPanel inMMCP,
MapMultiCellModel inModel,
MapMultiCellGameController inGameController)
Constructor of the map controller. |
Method Summary | |
---|---|
void |
removeKeys(JComponent inRootPane)
Method to setup the controller actions. |
void |
setUpKeys(JComponent inRootPane)
Method to setup the controller actions. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final MapMultiCellPanel mPane
private final MapMultiCellModel mModel
private final MapMultiCellGameController mGameController
Constructor Detail |
---|
public MapMultiCellController(MapMultiCellPanel inMMCP, MapMultiCellModel inModel, MapMultiCellGameController inGameController)
inMMCP
- the MapMultiCellPanel under controlinModel
- model of the game.inGameController
- controller for the map moves.Method Detail |
---|
public void setUpKeys(JComponent inRootPane)
inRootPane
- pane where the map component is.public void removeKeys(JComponent inRootPane)
inRootPane
- pane where the map component is.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |