1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

progress in battles

This commit is contained in:
mateuszb
2008-03-23 17:25:38 +00:00
parent ac82c2fe5a
commit d5a5a04811
11 changed files with 198 additions and 14 deletions

View File

@@ -100,6 +100,8 @@ public:
int battleGetPos(int stack); //returns position (tile ID) of stack
int battleMakeAction(Action* action);//perform action with an active stack (or custom action)
std::map<int, CStack> battleGetStacks(); //returns stacks on battlefield
CCreature battleGetCreature(int number); //returns type of creature by given number of stack
bool battleMoveCreature(int ID, int dest); //moves creature with id ID to dest if possible
//friends