* Sets up a UnitSprite with the specified size and position. * @param width Width in pixels. * @param height Height in pixels. * @param x X position in pixels. * @param y Y position in pixels. */
| 46 | * @param y Y position in pixels. |
| 47 | */ |
| 48 | UnitSprite::UnitSprite(int width, int height, int x, int y) : Surface(width, height, x, y), _unit(0), _itemA(0), _itemB(0), _unitSurface(0), _itemSurfaceA(0), _itemSurfaceB(0), _part(0), _animationFrame(0), _drawingRoutine(0) |
| 49 | { |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Deletes the UnitSprite. |
nothing calls this directly
no outgoing calls
no test coverage detected