cs015.Swarm
Interface Directional

All Superinterfaces:
Locatable, Rotatable

public interface Directional
extends Locatable, Rotatable

This is an interface that objects which will be acted upon by any behaviors in the cs015.Swarm package must implement. This interface combines the methods in the NGP.Locatable and NGP.Rotatable interfaces, as well as adding two methods of its own.


Method Summary
 Vector getVector()
          This method is to be used to obtain a cs015.Swarm.Vector from a Directional.
 void setVector(Vector newVector)
          This method is to be used to pass a cs015.Swarm.Vector to a Directional.
 
Methods inherited from interface NGP.Locatable
getLocation, setLocation
 
Methods inherited from interface NGP.Rotatable
getRotation, setRotation
 

Method Detail

setVector

public void setVector(Vector newVector)
This method is to be used to pass a cs015.Swarm.Vector to a Directional.

Parameters:
newVector - The cs015.Swarm.Vector to pass to the Directional.

getVector

public Vector getVector()
This method is to be used to obtain a cs015.Swarm.Vector from a Directional.

Returns:
A cs015.Swarm.Vector.