ballworld.model.strategy
Class StraightStrategy

java.lang.Object
  extended by ballworld.model.strategy.StraightStrategy
All Implemented Interfaces:
IUpdateStrategy

public class StraightStrategy
extends java.lang.Object
implements IUpdateStrategy

Simple no-op strategy, which, alone, will make the ball go in a straight line.

Author:
swong

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

StraightStrategy

public StraightStrategy()
Method Detail

updateState

public void updateState(Ball context)
No-op.

Specified by:
updateState in interface IUpdateStrategy
Parameters:
context - ignored .