Beispiel #1
0
        public override void ApplyFromTemplate(Component template)
        {
            Explosion explosionTemplate = template as Explosion;

            Countdown            = explosionTemplate.Countdown;
            State                = explosionTemplate.State;
            PropagationCountDown = explosionTemplate.PropagationCountDown;
            MadeInitialBlast     = explosionTemplate.MadeInitialBlast;
        }
Beispiel #2
0
        public override void ApplyFromTemplate(Component template)
        {
            Bomb bombTemplate = template as Bomb;

            State         = bombTemplate.State;
            OwnerUniqueId = bombTemplate.OwnerUniqueId;
            Countdown     = bombTemplate.Countdown;
            Triggered     = bombTemplate.Triggered;
        }
Beispiel #3
0
        public override void ApplyFromTemplate(Component template)
        {
            PlayerInfo playerTemplate = template as PlayerInfo;

            MaxSpeed = playerTemplate.MaxSpeed;
            PermittedSimultaneousBombs = playerTemplate.PermittedSimultaneousBombs;
            BombState         = playerTemplate.BombState;
            FirstBombInfinite = playerTemplate.FirstBombInfinite;
            FirstBombLandMine = playerTemplate.FirstBombLandMine;
            RemoteTrigger     = playerTemplate.RemoteTrigger;
            PlayerNumber      = playerTemplate.PlayerNumber;
        }