Class ControlStrategy


public class ControlStrategy
extends AStrategy
An update strategy that enables the update strategy to be changed dynamically.


Variable Index

 o strategy

Method Index

 o doAction (ABall)
 o setStrategy (AStrategy)

Variables

 o strategy
private AStrategy strategy

Methods

 o doAction
public void doAction(ABall b)
 o setStrategy
public void setStrategy(AStrategy s)