public PowerdownIndicator(Actor a) { this.a = a; canPowerDown = a.Trait <CanPowerDown>(); anim = new Animation(a.World, "poweroff"); anim.PlayRepeating("offline"); }
public PowerdownIndicator(Actor a) { this.a = a; canPowerDown = a.Trait <CanPowerDown>(); anim = new Animation(a.World, canPowerDown.Info.IndicatorImage); anim.PlayRepeating(canPowerDown.Info.IndicatorSequence); }
public PowerdownIndicator(Actor a) { this.a = a; canPowerDown = a.Trait<CanPowerDown>(); anim = new Animation(a.World, canPowerDown.Info.IndicatorImage); anim.PlayRepeating(canPowerDown.Info.IndicatorSequence); }