ballwar.model
Interface IBallCmd

All Known Implementing Classes:
BallCmdSet, CollisionCmd, FilterCmd

public interface IBallCmd

Interface that represents commands sent through the dispatcher to process the balls


Field Summary
static IBallCmd NoOp
           
 
Method Summary
 void apply(Ball context)
          The method run by the ball's update method which is called when the ball is updated by the dispatcher.
 

Field Detail

NoOp

static final IBallCmd NoOp
Method Detail

apply

void apply(Ball context)
The method run by the ball's update method which is called when the ball is updated by the dispatcher.

Parameters:
context - The ball that is calling this method. The context under which the command is to be run.