Class Grid
java.lang.Object
ch.epfl.cs107.play.engine.actor.Entity
ch.epfl.cs107.play.engine.actor.Grid
- All Implemented Interfaces:
Acoustics, Actor, Graphics, Updatable, Positionable
Grid Overlay entity
Draw a grid on the DiscreteCoordinate Lines:
Assume a coordinate system which is graduated every unit (0, 1, 2, ...)
Assume a grid overlay with unit square
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Entity
getPosition, getTransform, getVelocity, setCurrentPosition
-
Constructor Details
-
Grid
public Grid(int width, int height) Default Grid Constructor- Parameters:
width- (int): of the desired gridheight- (int): of the desired grid
-
Grid
-
-
Method Details
-
draw
-