Rehti MMORPG  1.0.0
Rehti MMORPG is a free and open source MMORPG game.
MapAABBData Struct Reference

Helper struct to store all the data necessary for creating a map AABB tree. More...

#include <AABB.hpp>

Collaboration diagram for MapAABBData:
Collaboration graph

Public Attributes

const std::vector< std::vector< int > > heightMatrix
 Matrix cell contains the height of the tile for the given column (x) and row (y). This matrix contains all the areas e.g. the map. More...
 
const std::vector< std::vector< std::string > > areaMatrix
 Matrix cell contains the name of the area for the given column (x) and row (y). This gives important information about how the areas are connected. More...
 
const unsigned int areaSize
 The size of the area in tiles. Width and height of the area are the same. More...
 
const float heightScale
 Percentage value of how much the height is scaled from the original unit. More...
 
const float sideUnit
 The size of the side of a tile in the original unit. More...
 
const float sideScale
 Percentage value of how much the side is scaled from the original unit. More...
 

Detailed Description

Helper struct to store all the data necessary for creating a map AABB tree.

Member Data Documentation

◆ areaMatrix

const std::vector<std::vector<std::string> > MapAABBData::areaMatrix

Matrix cell contains the name of the area for the given column (x) and row (y). This gives important information about how the areas are connected.

◆ areaSize

const unsigned int MapAABBData::areaSize

The size of the area in tiles. Width and height of the area are the same.

◆ heightMatrix

const std::vector<std::vector<int> > MapAABBData::heightMatrix

Matrix cell contains the height of the tile for the given column (x) and row (y). This matrix contains all the areas e.g. the map.

◆ heightScale

const float MapAABBData::heightScale

Percentage value of how much the height is scaled from the original unit.

◆ sideScale

const float MapAABBData::sideScale

Percentage value of how much the side is scaled from the original unit.

◆ sideUnit

const float MapAABBData::sideUnit

The size of the side of a tile in the original unit.


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