Allow tools to disable themselves
This commit is contained in:
committed by
Matthias Mailänder
parent
f8921226b8
commit
42181d77a5
@@ -977,10 +977,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
bool PathMightExistForLocomotorBlockedByImmovable(Locomotor locomotor, CPos source, CPos target);
|
||||
}
|
||||
|
||||
public interface IEditorToolInfo : ITraitInfoInterface
|
||||
public interface IEditorTool
|
||||
{
|
||||
string Label { get; }
|
||||
string PanelWidget { get; }
|
||||
bool IsEnabled { get; }
|
||||
TraitInfo TraitInfo { get; }
|
||||
}
|
||||
|
||||
public class MapGenerationException : Exception
|
||||
|
||||
Reference in New Issue
Block a user