Adding initial sprite database and sprite entry form
This commit is contained in:
21
SpriteLibrary/SpriteInfo.cs
Normal file
21
SpriteLibrary/SpriteInfo.cs
Normal file
@ -0,0 +1,21 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Drawing;
|
||||
|
||||
namespace SpriteLibrary
|
||||
{
|
||||
internal class SpriteInfo
|
||||
{
|
||||
public string SpriteName = "";
|
||||
public Point StartPoint = new Point(-1, -1);
|
||||
public string ImageName = "";
|
||||
public int Width = -1;
|
||||
public int Height = -1;
|
||||
public int AnimSpeed = 200;
|
||||
public int NumAnimations = 1;
|
||||
public int ViewPercent = 100; //The percent size of the sprite. 100 is full. 50 is half-size
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user