graphics.movement
Class RegularMovement

java.lang.Object
  extended by graphics.movement.RegularMovement
All Implemented Interfaces:
IGraphicMovement

public class RegularMovement
extends Object
implements IGraphicMovement

TODO: fill in comments for RegularMovement

Author:
Michael M Kozelsky Created on: Nov 14, 2006

Constructor Summary
RegularMovement()
           
 
Method Summary
 Vector move(IGraphic graphic, Vector v)
          Adds the values in the vector onto the graphic's location
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegularMovement

public RegularMovement()
Method Detail

move

public Vector move(IGraphic graphic,
                   Vector v)
Adds the values in the vector onto the graphic's location

Specified by:
move in interface IGraphicMovement
Parameters:
graphic - The graphic to move
v - the Vector representing the amount to move
See Also:
IGraphicMovement.move(graphics.IGraphic, utilities.Vector)