Files
quro-animation-tools/SpriteMapEditor/Sprite.cs
T
quinnvoker 46959bde2e SpriteMapping tool added
Created first implementation of a spritemap making app!
2018-11-22 12:56:07 -08:00

23 lines
430 B
C#

using System.Drawing;
namespace SpriteMapEditor
{
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;
}
}
}