1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-14 10:12:59 +02:00
vcmi/client/battle/BattleOverlayLogVisualizer.h
2024-08-12 18:26:30 +00:00

29 lines
700 B
C++

/*
* BattleOverlayLogVisualizer.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
#pragma once
#include "../../lib/logging/VisualLogger.h"
#include "BattleRenderer.h"
class Canvas;
class BattleInterface;
class BattleOverlayLogVisualizer : public IBattleOverlayLogVisualizer
{
private:
BattleRenderer::RendererRef & target;
BattleInterface & owner;
public:
BattleOverlayLogVisualizer(BattleRenderer::RendererRef & target, BattleInterface & owner);
void drawText(BattleHex hex, int lineNumber, const std::string & text) override;
};