Class Tile
java.lang.Object
net.vincent.parkourwarrior.Tile
Tiles class for each tile.
This class is the parent of every tile, which are the blocks
displayed inside the game, each Tile contains a
BufferedImage of that tile for Graphics2D to
draw. This also consist of a boolean which determines
if a tile is solid.
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionTheBufferedImageto store the image of a tile.booleanTo see if a tile is solid. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
image
-
solidTile
public boolean solidTileTo see if a tile is solid.- Since:
- 1.0
-
-
Constructor Details
-
Tile
public Tile()Constructs a newTilewith default values.The tile image is initially null and solidTile is false.
- Since:
- 1.0
-