Exemple #1
0
        internal void StartConstruction(Level Level)
        {
            Trap GameObject = new Trap(this.TrapData, Level);

            GameObject.SetUpgradeLevel(-1);

            GameObject.Position.X = this.X << 9;
            GameObject.Position.Y = this.Y << 9;

            GameObject.FinishConstruction(true);

            Level.GameObjectManager.AddGameObject(GameObject);
        }