* Links this sprite to a BattleUnit to get the data for rendering. * @param unit Pointer to the BattleUnit. * @param part The part number for large units. */
| 77 | * @param part The part number for large units. |
| 78 | */ |
| 79 | void UnitSprite::setBattleUnit(BattleUnit *unit, int part) |
| 80 | { |
| 81 | _unit = unit; |
| 82 | _redraw = true; |
| 83 | _part = part; |
| 84 | } |
| 85 | |
| 86 | /** |
| 87 | * Links this sprite to a BattleItem to get the data for rendering. |