예제 #1
0
        public PowerdownIndicator(Actor a)
        {
            this.a       = a;
            canPowerDown = a.Trait <CanPowerDown>();

            anim = new Animation(a.World, "poweroff");
            anim.PlayRepeating("offline");
        }
예제 #2
0
        public PowerdownIndicator(Actor a)
        {
            this.a       = a;
            canPowerDown = a.Trait <CanPowerDown>();

            anim = new Animation(a.World, canPowerDown.Info.IndicatorImage);
            anim.PlayRepeating(canPowerDown.Info.IndicatorSequence);
        }
예제 #3
0
        public PowerdownIndicator(Actor a)
        {
            this.a = a;
            canPowerDown = a.Trait<CanPowerDown>();

            anim = new Animation(a.World, canPowerDown.Info.IndicatorImage);
            anim.PlayRepeating(canPowerDown.Info.IndicatorSequence);
        }