#include <minimap.h>
|
| void | init () |
| |
| void | terminate () |
| |
| void | clean () |
| |
| void | draw (const Rect &screenRect, const Position &mapCenter, float scale, const Color &color) |
| |
| Point | getTilePoint (const Position &pos, const Rect &screenRect, const Position &mapCenter, float scale) |
| |
| Position | getTilePosition (const Point &point, const Rect &screenRect, const Position &mapCenter, float scale) |
| |
| Rect | getTileRect (const Position &pos, const Rect &screenRect, const Position &mapCenter, float scale) |
| |
| void | updateTile (const Position &pos, const TilePtr &tile) |
| |
| const MinimapTile & | getTile (const Position &pos) |
| |
| bool | loadImage (const std::string &fileName, const Position &topLeft, float colorFactor) |
| |
| void | saveImage (const std::string &fileName, const Rect &mapRect) |
| |
| bool | loadOtmm (const std::string &fileName) |
| |
| void | saveOtmm (const std::string &fileName) |
| |
Definition at line 78 of file minimap.h.
◆ clean()
◆ draw()
| void Minimap::draw |
( |
const Rect & |
screenRect, |
|
|
const Position & |
mapCenter, |
|
|
float |
scale, |
|
|
const Color & |
color |
|
) |
| |
◆ getTile()
◆ getTilePoint()
◆ getTilePosition()
◆ getTileRect()
◆ init()
◆ loadImage()
| bool Minimap::loadImage |
( |
const std::string & |
fileName, |
|
|
const Position & |
topLeft, |
|
|
float |
colorFactor |
|
) |
| |
◆ loadOtmm()
| bool Minimap::loadOtmm |
( |
const std::string & |
fileName | ) |
|
◆ saveImage()
| void Minimap::saveImage |
( |
const std::string & |
fileName, |
|
|
const Rect & |
mapRect |
|
) |
| |
◆ saveOtmm()
| void Minimap::saveOtmm |
( |
const std::string & |
fileName | ) |
|
◆ terminate()
| void Minimap::terminate |
( |
| ) |
|
◆ updateTile()
The documentation for this class was generated from the following files: