mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
29 lines
700 B
C++
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;
|
|
};
|