ActWorld/MapPresent/UnitDelegate.h

20 lines
454 B
C++

#pragma once
#include "MapPresent.h"
/// <summary>
/// 샘뇟왕겜데禱삥齡官辜
/// </summary>
class BasicUnitDelegate : public UnitPresentDelegate {
public:
BasicUnitDelegate(QObject *parent = nullptr);
int unitType() const override;
void paint(QPainter* p, const PresentOption& option) override;
static QPainterPath clipPathGet(const QRectF& rect);
void hotClear();
void hotIndexSet(const PresentIndex &idx);
private:
PresentIndex _hot_index;
};