Class that represents coordinates in a (CMap) map.
More...
#include <CMap.h>
Class that represents coordinates in a (CMap) map.
Its modulating wrapper around SCoordinates
◆ get()
return's coordinates
- Returns
- the inner coordinates
◆ moveX()
void CMap::CMapCoordinates::moveX |
( |
float |
howMuch | ) |
|
|
inline |
move coordinates in X direction
- Parameters
-
howMuch | how much will be coordinates moved in x direction |
◆ moveY()
void CMap::CMapCoordinates::moveY |
( |
float |
howMuch | ) |
|
|
inline |
move coordinates in Y direction
- Parameters
-
howMuch | how much will be coordinates moved in y direction |
◆ tryMove()
Returns coordinates if CMapCoordinates would be moved by moveVector.
- Parameters
-
[in] | moveVector | vector which determines the move |
- Returns
- new possible coordinates are returned
◆ x()
float CMap::CMapCoordinates::x |
( |
| ) |
const |
|
inline |
returns x coordinate
- Returns
- the x coordinate of the coordinates
◆ y()
float CMap::CMapCoordinates::y |
( |
| ) |
const |
|
inline |
returns y coordinate
- Returns
- the y coordinate of the coordinates
The documentation for this class was generated from the following file: