Beginnings of cursor support.

This commit is contained in:
Matthew Bowra-Dean
2009-10-15 18:37:24 +13:00
parent 05cbf6b680
commit 3deacd8062
5 changed files with 107 additions and 0 deletions

29
OpenRa.Game/Cursor.cs Normal file
View File

@@ -0,0 +1,29 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OpenRa.Game.Graphics;
using System.IO;
namespace OpenRa.Game
{
public class Cursor
{
CursorSequence sequence;
Cursor(string cursor)
{
sequence = SequenceProvider.GetCursorSequence(cursor);
}
public static Cursor Default
{
get { return new Cursor("default"); }
}
public static Cursor Move
{
get { return new Cursor("move"); }
}
}
}