1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-03 00:46:55 +02:00

Almost finished building of buildings.

This commit is contained in:
Michał W. Urbańczyk
2008-03-21 00:03:31 +00:00
parent db12ede837
commit 1e61235aa9
11 changed files with 155 additions and 25 deletions

View File

@ -729,6 +729,13 @@ ClickableR::ClickableR()
{
pressedR=false;
}
void ClickableR::clickRight(tribool down)
{
if (down)
pressedR=true;
else
pressedR=false;
}
void ClickableR::activate()
{
LOCPLINT->rclickable.push_back(this);