Package ch.epfl.cs107.play.engine.actor
Interface Graphics
- All Known Subinterfaces:
Actor
- All Known Implementing Classes:
Animation,Area,AreaEntity,Background,CellMouseIndicator,CollectableAreaEntity,Dialog,DraggableAreaEntity,Entity,Foreground,GraphicsEntity,Grid,ImageGraphics,MovableAreaEntity,OrientedAnimation,Path,RPGSprite,ShapeGraphics,Sprite,Text,TextGraphics
public interface Graphics
Represents a drawable element.
-
Method Summary
-
Method Details
-
draw
Renders itself on specified canvas.- Parameters:
canvas- target, not null
-