Expose targetline colors to yaml.
All targetlines can now be set to a custom color in yaml or set to be invisible. All automated behaviours including scripted activities now have no visible target lines.
This commit is contained in:
@@ -507,7 +507,10 @@ namespace OpenRA.Traits
|
||||
bool AlwaysEnabled { get; }
|
||||
}
|
||||
|
||||
public interface IMoveInfo : ITraitInfoInterface { }
|
||||
public interface IMoveInfo : ITraitInfoInterface
|
||||
{
|
||||
Color GetTargetLineColor();
|
||||
}
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface IGameOver { void GameOver(World world); }
|
||||
|
||||
Reference in New Issue
Block a user