Class ColorableTile

java.lang.Object
nz.ac.vuw.ecs.swen225.gp22.domain.Tile
nz.ac.vuw.ecs.swen225.gp22.domain.ColorableTile
Direct Known Subclasses:
Key, LockedDoor

public abstract class ColorableTile extends Tile
Template for Tile objects that need a color property.
Author:
Abdul
  • Constructor Details

    • ColorableTile

      public ColorableTile(Maze.Point tilePos, boolean obstructive, ColorableTile.Color color)
      Default constructor, sets the position, obstructiveness, and color of the tile.
      Parameters:
      tilePos - Point to set the position field to.
      obstructive - Boolean to set the obstructive field to.
      color - Color to set the color field to.
  • Method Details