Add a lint check for cursor definitions.
This commit is contained in:
committed by
reaperrr
parent
cefb2e7cc6
commit
bbbed49f82
@@ -25,9 +25,11 @@ namespace OpenRA.Mods.Common.Traits
|
||||
[Desc("Locomotor used by the transformed actor. Must be defined on the World actor.")]
|
||||
public readonly string Locomotor = null;
|
||||
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when a move order can be issued at target location.")]
|
||||
public readonly string Cursor = "move";
|
||||
|
||||
[CursorReference]
|
||||
[Desc("Cursor to display when a move order cannot be issued at target location.")]
|
||||
public readonly string BlockedCursor = "move-blocked";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user