Mana
Loading...
Searching...
No Matches
Public Attributes | List of all members
MetaTile Struct Reference

A meta tile stores additional information about a location on a tile map. More...

#include <map.h>

Public Attributes

int Fcost
 Estimation of total path cost.
 
int Gcost
 Cost from start to this location.
 
int Hcost
 Estimated cost to goal.
 
unsigned whichList = 0
 No list, open list or closed list.
 
int parentX
 X coordinate of parent tile.
 
int parentY
 Y coordinate of parent tile.
 
unsigned char blockmask = 0
 Blocking properties of this tile.
 

Detailed Description

A meta tile stores additional information about a location on a tile map.

This is information that doesn't need to be repeated for each tile in each layer of the map.

Definition at line 45 of file map.h.

Member Data Documentation

◆ blockmask

unsigned char MetaTile::blockmask = 0

Blocking properties of this tile.

Definition at line 54 of file map.h.

◆ Fcost

int MetaTile::Fcost

Estimation of total path cost.

Definition at line 48 of file map.h.

◆ Gcost

int MetaTile::Gcost

Cost from start to this location.

Definition at line 49 of file map.h.

◆ Hcost

int MetaTile::Hcost

Estimated cost to goal.

Definition at line 50 of file map.h.

◆ parentX

int MetaTile::parentX

X coordinate of parent tile.

Definition at line 52 of file map.h.

◆ parentY

int MetaTile::parentY

Y coordinate of parent tile.

Definition at line 53 of file map.h.

◆ whichList

unsigned MetaTile::whichList = 0

No list, open list or closed list.

Definition at line 51 of file map.h.


The documentation for this struct was generated from the following file: