mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-15 08:53:51 +00:00
22 lines
579 B
C++
22 lines
579 B
C++
|
|
// party_dot_layer.hpp — Party member position dots on the world map.
|
||
|
|
#pragma once
|
||
|
|
#include "rendering/world_map/overlay_renderer.hpp"
|
||
|
|
#include "rendering/world_map/world_map_types.hpp"
|
||
|
|
#include <vector>
|
||
|
|
|
||
|
|
namespace wowee {
|
||
|
|
namespace rendering {
|
||
|
|
namespace world_map {
|
||
|
|
|
||
|
|
class PartyDotLayer : public IOverlayLayer {
|
||
|
|
public:
|
||
|
|
void setDots(const std::vector<PartyDot>& dots) { dots_ = &dots; }
|
||
|
|
void render(const LayerContext& ctx) override;
|
||
|
|
private:
|
||
|
|
const std::vector<PartyDot>* dots_ = nullptr;
|
||
|
|
};
|
||
|
|
|
||
|
|
} // namespace world_map
|
||
|
|
} // namespace rendering
|
||
|
|
} // namespace wowee
|