moagg.model.object
Interface ShooterObject

All Superinterfaces:
MoaggGameObject
All Known Implementing Classes:
GhostShip, Mortar, Sam, Ship, Tank, Turret

public interface ShooterObject
extends MoaggGameObject

Game objects that can shoot have to implement this interface.

See Also:
Weapon

Method Summary
 Weapon getWeapon()
           
 void setWeapon(Weapon weapon)
           
 
Methods inherited from interface moagg.model.object.MoaggGameObject
getHeight, getID, getPositionRectangle, getSpeed, getWidth, getX, getY, hide, isVisible, setID, setSpeed, setSpeed, setX, setY, show
 

Method Detail

setWeapon

void setWeapon(Weapon weapon)

getWeapon

Weapon getWeapon()


Copyright © 2008. All Rights Reserved.