Began work on AnimationEditor
Simple test code exists in AnimationEditor
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user