HOG2
Public Member Functions | Public Attributes | List of all members
Tile Class Reference

#include <Map.h>

Collaboration diagram for Tile:
Collaboration graph
[legend]

Public Member Functions

 Tile ()
 Construct a tile with no split. More...
 

Public Attributes

halfTile tile1
 
halfTile tile2
 
tSplit split
 

Detailed Description

Definition at line 113 of file Map.h.

Constructor & Destructor Documentation

◆ Tile()

Tile::Tile ( )

Construct a tile with no split.

A Tile contains two half tiles and information about how the tile is split. If a tile isn't split, the first three parts of the tile are in the first halfTile and the fourth is in th second.

Definition at line 75 of file Map.cpp.

Member Data Documentation

◆ split

tSplit Tile::split

Definition at line 117 of file Map.h.

Referenced by Map::DrawTile(), GetMapGraph(), Map::GetSplit(), and Map::SetSplit().

◆ tile1

halfTile Tile::tile1

◆ tile2

halfTile Tile::tile2

The documentation for this class was generated from the following files: