Exemplo n.º 1
0
        public CrystalMan(string name, Vector2 initialPosition)
            : base(name, new Actor(new DummyAnimation()), 20, crystalHealth * (numOuterCrystals + 1))
        {
            (This.Game.LoadingLevel as FrostbyteLevel).enemies.Remove(this);
            SpawnPoint        = initialPosition;
            movementStartTime = new TimeSpan(0, 0, 1);
            ElementType       = Element.Lightning;

            Personality            = new ShiningPersonality(this);
            CollidesWithBackground = false;
        }
Exemplo n.º 2
0
        public CrystalMan(string name, Vector2 initialPosition)
            : base(name, new Actor(new DummyAnimation()), 20, crystalHealth * (numOuterCrystals + 1))
        {
            (This.Game.LoadingLevel as FrostbyteLevel).enemies.Remove(this);
            SpawnPoint = initialPosition;
            movementStartTime = new TimeSpan(0, 0, 1);
            ElementType = Element.Lightning;

            Personality = new ShiningPersonality(this);
            CollidesWithBackground = false;
        }