mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
implement skill, artifact, warmachine, spellbook
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "../render/Canvas.h"
|
||||
#include "../render/ColorFilter.h"
|
||||
#include "../render/Colors.h"
|
||||
#include "../eventsSDL/InputHandler.h"
|
||||
|
||||
#include "../battle/BattleInterface.h"
|
||||
|
||||
@@ -150,7 +151,10 @@ void CPicture::addRClickCallback(const std::function<void()> & callback)
|
||||
void CPicture::clickPressed(const Point & cursorPosition)
|
||||
{
|
||||
if(lCallback)
|
||||
{
|
||||
ENGINE->input().hapticFeedback();
|
||||
lCallback();
|
||||
}
|
||||
}
|
||||
|
||||
void CPicture::showPopupWindow(const Point & cursorPosition)
|
||||
|
||||
Reference in New Issue
Block a user