#include <Minimap.hpp>
◆ Minimap()
◆ draw()
| void Minimap::draw |
( |
HudContext & | ctx, |
|
|
float | drawX, |
|
|
float | drawY ) |
|
overridevirtual |
Emit geometry into the draw context.
- Parameters
-
| ctx | Immediate-mode draw API. |
| drawX | Resolved pixel X (anchor + offset already applied). |
| drawY | Resolved pixel Y. |
Implements HudWidget.
◆ update()
Called each frame before draw(). Update animation, consume events.
Implements HudWidget.
◆ borderThickness
| float Minimap::borderThickness = 2.f |
◆ dotSize
| float Minimap::dotSize = 6.f |
◆ enemies_
| std::vector<Dot> Minimap::enemies_ |
|
private |
◆ localX_
| float Minimap::localX_ = 0.f |
|
private |
◆ localYaw_
| float Minimap::localYaw_ = 0.f |
|
private |
◆ localZ_
| float Minimap::localZ_ = 0.f |
|
private |
◆ mapSize
| float Minimap::mapSize = 180.f |
Pixel width/height of the minimap square.
◆ worldRange_
| float Minimap::worldRange_ = 100.f |
|
private |
The documentation for this struct was generated from the following files: