|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unifreiburg.twodeedoo.model.test.FakeGameController
public class FakeGameController
IGameController
fake for testing.
Constructor Summary | |
---|---|
FakeGameController()
|
Method Summary | |
---|---|
IKeyHandler |
getKeyHandler()
Get the handler which receives the keys. |
ISchedulable |
getMainSchedulable()
Get the ISchedulable which is scheduled for each frame. |
void |
setKeyHandler(IKeyHandler keyHandler)
Set the handler which receives the keys. |
void |
setMainSchedulable(ISchedulable mainSchedulable)
Set the main schedulable. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FakeGameController()
Method Detail |
---|
public IKeyHandler getKeyHandler()
IGameController
getKeyHandler
in interface IGameController
public void setKeyHandler(IKeyHandler keyHandler)
IGameController
setKeyHandler
in interface IGameController
keyHandler
- the keyHandler to setpublic ISchedulable getMainSchedulable()
IGameController
ISchedulable
which is scheduled for each frame.
getMainSchedulable
in interface IGameController
public void setMainSchedulable(ISchedulable mainSchedulable)
IGameController
setMainSchedulable
in interface IGameController
mainSchedulable
- the mainSchedulable to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |