Class InfoField
java.lang.Object
nz.ac.vuw.ecs.swen225.gp22.domain.Tile
nz.ac.vuw.ecs.swen225.gp22.domain.InfoField
Represents a tile which will give the player
additional information if they are on it.
- Author:
- Abdul
-
Constructor Summary
ConstructorDescriptionInfoField
(Maze.Point tilePos, String infoText) Default constructor, sets the position of the tile, and obstructiveness to false. -
Method Summary
Methods inherited from class nz.ac.vuw.ecs.swen225.gp22.domain.Tile
deleteTile, getPos, isObstructive, setObstructive, setPos
-
Constructor Details
-
InfoField
Default constructor, sets the position of the tile, and obstructiveness to false.- Parameters:
tilePos
- Point to set the position field to.infoText
- The text that will be displayed.
-
-
Method Details