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

#include <Map.h>

Public Member Functions

 halfTile ()
 Construct a half tile, initializing to flat values. More...
 

Public Attributes

long corners [3]
 
tTerrain type
 
long node
 

Detailed Description

Definition at line 104 of file Map.h.

Constructor & Destructor Documentation

◆ halfTile()

halfTile::halfTile ( )

Construct a half tile, initializing to flat values.

A halfTile is the lowest level in the map - it contains the height of the three relevant corners. The heights are initialized to 0, the type of territory is initialized to ground.

Definition at line 61 of file Map.cpp.

References kGround.

Member Data Documentation

◆ corners

long halfTile::corners[3]

◆ node

long halfTile::node

◆ type

tTerrain halfTile::type

Definition at line 109 of file Map.h.

Referenced by Map::DrawTile(), Map::GetTerrainType(), and Map::SetTerrainType().


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