ballwar.model.strategy
Class StraightStrategy
java.lang.Object
   ballwar.model.strategy.AUpdateStrategy
ballwar.model.strategy.AUpdateStrategy
       ballwar.model.strategy.StraightStrategy
ballwar.model.strategy.StraightStrategy
- All Implemented Interfaces: 
- IUpdateStrategy
- public class StraightStrategy 
- extends AUpdateStrategy
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).
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
StraightStrategy
public StraightStrategy()
updateState
public void updateState(Ball context)
- No-op.
 
- 
- Parameters:
- context- This strategy's context.