mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Added RenderHandler that acts as factory for images and animations
This commit is contained in:
@@ -52,7 +52,7 @@ class MapViewCache
|
||||
std::unique_ptr<Canvas> intermediate;
|
||||
std::unique_ptr<MapRenderer> mapRenderer;
|
||||
|
||||
std::unique_ptr<CAnimation> iconsStorage;
|
||||
std::shared_ptr<CAnimation> iconsStorage;
|
||||
|
||||
Canvas getTile(const int3 & coordinates);
|
||||
void updateTile(const std::shared_ptr<IMapRendererContext> & context, const int3 & coordinates);
|
||||
|
||||
Reference in New Issue
Block a user