edu.stanford.smi.protegex.layout
Class NullMovementHandler
java.lang.Object
|
+--edu.stanford.smi.protegex.layout.ActorDelegateImpl
|
+--edu.stanford.smi.protegex.layout.NullMovementHandler
- All Implemented Interfaces:
- ActorDelegate, ActorMovementHandler, Copyable
- public class NullMovementHandler
- extends ActorDelegateImpl
- implements ActorMovementHandler
Pretty much a null object
- Author:
- William Grosso
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NullMovementHandler
public NullMovementHandler(Actor actor)
collidesWithActor
public boolean collidesWithActor(Actor actor)
- Specified by:
collidesWithActor
in interface ActorMovementHandler
collideWithActor
public void collideWithActor(Actor actor)
- Specified by:
collideWithActor
in interface ActorMovementHandler
copy
public Object copy()
- Specified by:
copy
in interface Copyable
getBounces
public boolean getBounces()
- Specified by:
getBounces
in interface ActorMovementHandler
getXVelocity
public double getXVelocity()
- Specified by:
getXVelocity
in interface ActorMovementHandler
getYVelocity
public double getYVelocity()
- Specified by:
getYVelocity
in interface ActorMovementHandler
setBounces
public void setBounces(boolean bounces)
- Specified by:
setBounces
in interface ActorMovementHandler
setXVelocity
public void setXVelocity(double xVelocity)
- Specified by:
setXVelocity
in interface ActorMovementHandler
setYVelocity
public void setYVelocity(double yVelocity)
- Specified by:
setYVelocity
in interface ActorMovementHandler
tick
public void tick(int currentTime)
- Specified by:
tick
in interface ActorMovementHandler
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.