what a hack, but the cursors work and the terrain doesnt break anymore
This commit is contained in:
@@ -7,15 +7,17 @@ using System.IO;
|
||||
|
||||
namespace OpenRa.Game
|
||||
{
|
||||
public class Cursor
|
||||
class Cursor
|
||||
{
|
||||
CursorSequence sequence;
|
||||
Cursor(string cursor)
|
||||
{
|
||||
sequence = SequenceProvider.GetCursorSequence(cursor);
|
||||
|
||||
}
|
||||
|
||||
public Sprite GetSprite(int frame) { return sequence.GetSprite(frame); }
|
||||
public int2 GetHotspot() { return sequence.Hotspot; }
|
||||
|
||||
public static Cursor Default
|
||||
{
|
||||
get { return new Cursor("default"); }
|
||||
|
||||
Reference in New Issue
Block a user