|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectballworld.model.strategy.StraightStrategy
public class StraightStrategy
Simple no-op strategy, which, alone, will make the ball go in a straight line.
Constructor Summary | |
---|---|
StraightStrategy()
|
Method Summary | |
---|---|
void |
updateState(Ball context)
No-op. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StraightStrategy()
Method Detail |
---|
public void updateState(Ball context)
updateState
in interface IUpdateStrategy
context
- ignored
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |