Class MilkPuddle
java.lang.Object
nz.ac.vuw.ecs.swen225.gp22.domain.Tile
nz.ac.vuw.ecs.swen225.gp22.domain.MilkPuddle
Represents a tile that kills the player.
- Author:
 - Abdul
 
- 
Constructor Summary
ConstructorsConstructorDescriptionMilkPuddle(Maze.Point tilePos) 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
getPos, isObstructive, setObstructive, setPos 
- 
Constructor Details
- 
MilkPuddle
Default constructor, sets the position of the tile, and obstructiveness to false.- Parameters:
 tilePos- Point to set the position field to.
 
 - 
 - 
Method Details
- 
deleteTile
public void deleteTile()Description copied from class:TileCalled when a tile is removed or replaced. This method is not abstract because not all tiles will need special code to run on deletion.- Overrides:
 deleteTilein classTile
 - 
toString
 
 -