Protege-2000 1.7

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

Field Summary
static double ZERO_VELOCITY
           
 
Method Summary
 boolean collidesWithActor(Actor actor)
           
 void collideWithActor(Actor actor)
           
 boolean getBounces()
           
 double getXVelocity()
           
 double getYVelocity()
           
 void setBounces(boolean bounces)
           
 void setXVelocity(double xVelocity)
           
 void setYVelocity(double yVelocity)
           
 void tick(int currentTime)
           
 
Methods inherited from interface edu.stanford.smi.protegex.layout.ActorDelegate
getActor, setActor, setLocation
 
Methods inherited from interface edu.stanford.smi.protegex.layout.Copyable
copy
 

Field Detail

ZERO_VELOCITY

public static final double ZERO_VELOCITY
Method Detail

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)

Protege-2000 1.7

Submit a bug report or feature request
Protege-2000 is a trademark of Stanford University.
Copyright (c) 1998-2002 Stanford University.