Subclasses of AUpdateStrategy in ballwar.model.strategy |
class |
Change1Strategy
A strategy that demonstrates self-modifying behavior by replacing itself with another strategy after a certain length of time. |
class |
Change2Strategy
Similar self-modifying behavior to Change1Strategy. |
class |
DrunkenStrategy
AUpdateStrategy-bsed strategy that delegates to one of 4 randomly choosen strategies whenever it's updateState is called. |
class |
StraightStrategy
An AUpdateStrategy-based strategy whose updateState is a no-op hence the randomly initialized ball will travel in a straight line (unless it collides or bounces). |