ballwar.model
Interface IBallCmd

All Known Implementing Classes:
AElasticMassCollisionCmd

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.
 

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.