| 12345678910 |
- $#include "SpriteSheet2D.h"
- class SpriteSheet2D : public Resource
- {
- public:
- Texture2D* GetTexture() const;
- Sprite2D* GetSprite(const String name) const;
- void DefineSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot = Vector2(0.5f, 0.5f));
- void UpdateSprite(const String name, const IntRect& rectangle, const Vector2& hotSpot = Vector2(0.5f, 0.5f));
- };
|