tesla charges
This commit is contained in:
@@ -95,6 +95,8 @@ namespace OpenRa.Game.Graphics
|
||||
Tick( 40 ); // tick one frame
|
||||
}
|
||||
|
||||
public bool HasSequence(string seq) { return SequenceProvider.HasSequence( name, seq ); }
|
||||
|
||||
public void Tick( int t )
|
||||
{
|
||||
if( tickAlways )
|
||||
|
||||
@@ -65,6 +65,11 @@ namespace OpenRa.Game.Graphics
|
||||
}
|
||||
}
|
||||
|
||||
public static bool HasSequence(string unit, string seq)
|
||||
{
|
||||
return units[unit].ContainsKey(seq);
|
||||
}
|
||||
|
||||
public static CursorSequence GetCursorSequence(string cursor)
|
||||
{
|
||||
return cursors[cursor];
|
||||
|
||||
Reference in New Issue
Block a user