Small UI refactor pieces (#11026)
* ActionType rename Name to DisplayName * Gameplay State rename+move
This commit is contained in:
@@ -86,7 +86,7 @@ public sealed partial class MappingSystem : EntitySystem
|
||||
{
|
||||
CheckCanInteract = false,
|
||||
Event = actionEvent,
|
||||
Name = tileDef.Name,
|
||||
DisplayName = tileDef.Name,
|
||||
Icon = tileIcon
|
||||
};
|
||||
|
||||
@@ -99,7 +99,7 @@ public sealed partial class MappingSystem : EntitySystem
|
||||
{
|
||||
CheckCanInteract = false,
|
||||
Event = actionEvent,
|
||||
Name = "action-name-mapping-erase",
|
||||
DisplayName = "action-name-mapping-erase",
|
||||
Icon = _deleteIcon,
|
||||
};
|
||||
|
||||
@@ -113,7 +113,7 @@ public sealed partial class MappingSystem : EntitySystem
|
||||
{
|
||||
CheckCanInteract = false,
|
||||
Event = actionEvent,
|
||||
Name = actionEvent.EntityType,
|
||||
DisplayName = actionEvent.EntityType,
|
||||
Icon = new SpriteSpecifier.EntityPrototype(actionEvent.EntityType),
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user