SpriteMapping tool added
Created first implementation of a spritemap making app!
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user