Package ch.epfl.cs107.play.engine.actor
Class Path
java.lang.Object
ch.epfl.cs107.play.engine.actor.Entity
ch.epfl.cs107.play.engine.actor.Path
- All Implemented Interfaces:
Acoustics,Actor,Graphics,Updatable,Positionable
Path Overlay entity
Draw a path on the DiscreteCoordinate Lines:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class ch.epfl.cs107.play.engine.actor.Entity
getPosition, getTransform, getVelocity, setCurrentPosition
-
Constructor Details
-
Path
Default Path Constructor- Parameters:
start- (Vector): the origin of the pathpath- (Queue): the successive orientation of the path
-
-
Method Details
-
draw
Description copied from interface:GraphicsRenders itself on specified canvas.- Parameters:
canvas- target, not null
-