| 5214 | } |
| 5215 | |
| 5216 | unsigned int BattleUnit::getHandAnimationFrame() const |
| 5217 | { |
| 5218 | return ((firing_animation_ticks_remaining > 0 ? firing_animation_ticks_remaining |
| 5219 | : hand_animation_ticks_remaining) + |
| 5220 | TICKS_PER_FRAME_UNIT - 1) / |
| 5221 | TICKS_PER_FRAME_UNIT; |
| 5222 | } |
| 5223 | |
| 5224 | bool BattleUnit::canHandStateChange(HandState state) |
| 5225 | { |