vooga.gameEngine.item
Interface Scriptable

All Superinterfaces:
java.lang.Comparable<Renderable>, java.util.EventListener, PositionChangeListener, Renderable, RotationChangeListener, SizeChangeListener, Tangible, TangibleListener, TimeListener
All Known Implementing Classes:
Bomb

public interface Scriptable
extends Renderable, TimeListener, TangibleListener

This interface provides a framework to create objects that have a predefined movement and respond to both the current TimingController and Position of the game. Scriptable items should to listen to both the TimingController and a Tangible object in order to determine when to start their script and when to update their position.

Author:
Justin C. Klaassen
See Also:
Renderable, TimeListener, PositionChangeListener, SizeChangeListener, RotationChangeListener

Method Summary
 
Methods inherited from interface vooga.gameEngine.item.Renderable
getTexture, isVisible, setVisibility
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface vooga.gameEngine.item.Tangible
getPosition, getRotation, getShape, getSize, move, resize, rotate, setPosition, setRotation, setSize
 
Methods inherited from interface vooga.gameEngine.listener.TimeListener
timeUpdated
 
Methods inherited from interface vooga.gameEngine.listener.PositionChangeListener
positionChanged
 
Methods inherited from interface vooga.gameEngine.listener.RotationChangeListener
rotationChanged
 
Methods inherited from interface vooga.gameEngine.listener.SizeChangeListener
sizeChanged