game
Interface Fireable

All Known Implementing Classes:
EyeballMyopic

public interface Fireable

Interface for something that can fire a missile


Method Summary
 void aimAt(Point p)
          Cause the missile to aim at the specified point.
 Vector initialVelocity()
          Initial velocity of the missile.
 Point leavesFrom()
          Location from which the missile should launch
 

Method Detail

leavesFrom

Point leavesFrom()
Location from which the missile should launch

Returns:
the Point of departure

initialVelocity

Vector initialVelocity()
Initial velocity of the missile.

Returns:
Vector showing the missile's direction

aimAt

void aimAt(Point p)
Cause the missile to aim at the specified point.

Parameters:
p - The point at which to aim