ActorInitializer, in preparation for next change (bob)
This commit is contained in:
@@ -23,10 +23,7 @@ using OpenRA.Mods.RA.Activities;
|
||||
|
||||
namespace OpenRA.Mods.RA
|
||||
{
|
||||
class ChronoshiftableInfo : ITraitInfo
|
||||
{
|
||||
public object Create(Actor self) { return new Chronoshiftable(self); }
|
||||
}
|
||||
class ChronoshiftableInfo : TraitInfo<Chronoshiftable> { }
|
||||
|
||||
public class Chronoshiftable : ITick
|
||||
{
|
||||
@@ -36,8 +33,6 @@ namespace OpenRA.Mods.RA
|
||||
[Sync]
|
||||
int chronoshiftReturnTicks = 0;
|
||||
|
||||
public Chronoshiftable(Actor self) { }
|
||||
|
||||
public void Tick(Actor self)
|
||||
{
|
||||
if (chronoshiftReturnTicks <= 0)
|
||||
|
||||
Reference in New Issue
Block a user