23 lines
439 B
C#
23 lines
439 B
C#
using Microsoft.Xna.Framework;
|
|
|
|
namespace AnimationEditor
|
|
{
|
|
public class Sprite
|
|
{
|
|
public string Name { get; set; }
|
|
public Rectangle Bounds { get; set; }
|
|
|
|
public Sprite()
|
|
{
|
|
Name = "unnamed";
|
|
Bounds = new Rectangle(1, 1, 8, 8);
|
|
}
|
|
|
|
public Sprite(string name, Rectangle bounds)
|
|
{
|
|
Name = name;
|
|
Bounds = bounds;
|
|
}
|
|
}
|
|
}
|