22 #ifndef QDENGINE_MINIGAMES_ADV_M_PUZZLE_H 23 #define QDENGINE_MINIGAMES_ADV_M_PUZZLE_H 25 #include "qdengine/minigames/adv/MinigameInterface.h" 26 #include "qdengine/minigames/adv/FlyObject.h" 36 bool inStack()
const {
43 Node() : angle(1), pos(-1) {}
59 float rotateTimePeriod_;
60 float nextRotateTime_;
92 const char *getStateName(
int angle,
bool selected,
bool small)
const;
94 void rotate(
int hovItem);
96 bool testPlace(
int idx)
const;
98 bool isOnMouse(
const Node& node)
const;
100 bool isFlying(
int idx)
const;
102 int stidx(
int idx)
const;
104 void put(
int where,
int what,
float flowSpeed = -1.f);
106 void putOnStack(
int what,
float speed);
108 void returnToStack();
110 const mgVect3f &position(
int num)
const;
112 mgVect3f stackPosition(
int N)
const;
119 #endif // QDENGINE_MINIGAMES_ADV_M_PUZZLE_H
Definition: MinigameInterface.h:27
Базовый класс для игровых ресурсов.
Definition: console.h:28
Definition: m_puzzle.h:30