Replace IActorInit with an abstract class.
A shared ValueActorInit<T> is introduced to reduce duplication in the most common init cases, and an ActorInitActorReference allow actors to be referenced by map.yaml name.
This commit is contained in:
@@ -133,8 +133,5 @@ namespace OpenRA.Mods.Cnc.Traits
|
||||
}
|
||||
}
|
||||
|
||||
class HideBibPreviewInit : IActorInit, ISuppressInitExport
|
||||
{
|
||||
public HideBibPreviewInit() { }
|
||||
}
|
||||
class HideBibPreviewInit : RuntimeFlagInit { }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user