com.jpemartin.jgt
Interface Fireable


public interface Fireable

Fireable describes something you can fire: a weapon The benefit of Fireable is that if you implement it, you can use a FireControl object to deal with the firing.

See Also:
FireControl

Method Summary
 void fire(int power)
          Call this to shoot bullets or otherwise fire the weapon.
 

Method Detail

fire

void fire(int power)
Call this to shoot bullets or otherwise fire the weapon. the exact meaning of power depends of the FireControl you choose, but the idea is that higher power = more dangerous bullets