28 lines
370 B
C++
28 lines
370 B
C++
#pragma once
|
|
|
|
#include "GuiWidget.h"
|
|
|
|
namespace td {
|
|
|
|
namespace game {
|
|
|
|
class Mob;
|
|
|
|
} // namespace game
|
|
|
|
namespace gui {
|
|
|
|
class MobTooltip : public GuiWidget {
|
|
private:
|
|
const game::Mob* m_Mob;
|
|
public:
|
|
MobTooltip(client::Client* client);
|
|
|
|
virtual void render();
|
|
|
|
void setMob(const game::Mob* mob) { m_Mob = mob; }
|
|
};
|
|
|
|
} // namespace gui
|
|
} // namespace td
|