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
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. |
NoOp
static final IBallCmd NoOp
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.