edu.stanford.smi.protegex.layout
Interface ActorMovementHandler
- All Superinterfaces:
- ActorDelegate, Copyable
- All Known Subinterfaces:
- Actor
- All Known Implementing Classes:
- NullMovementHandler, StandardActorMovementHandler
- public interface ActorMovementHandler
- extends ActorDelegate
Not used. Handles self-moving objects and collisions
- Author:
- William Grosso
Methods inherited from interface edu.stanford.smi.protegex.layout.Copyable |
copy |
ZERO_VELOCITY
public static final double ZERO_VELOCITY
collidesWithActor
public boolean collidesWithActor(Actor actor)
collideWithActor
public void collideWithActor(Actor actor)
getBounces
public boolean getBounces()
getXVelocity
public double getXVelocity()
getYVelocity
public double getYVelocity()
setBounces
public void setBounces(boolean bounces)
setXVelocity
public void setXVelocity(double xVelocity)
setYVelocity
public void setYVelocity(double yVelocity)
tick
public void tick(int currentTime)
Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.