Ejemplo n.º 1
0
        public override void Initialize()
        {
            player1.Initialize(TeamRole.LEADER, new int[0] {
            });

            /*Player1*/
            player1.AddAircraft(new AircraftXwing(game), new Vector3(0, 0, 0), RelationEnum.PLAYER, pilots);

            /*Player2*/
            // player2.AddAircraft(new AircraftXwing(game), new Vector3(0, 0, 0), RelationEnum.PLAYER, pilots);
            //pilots.AddPilot(player2);

            commandLine = ">>";
            //commandLine = "ADD ENEMYXWINGTEAM 6 1000,0";
            //commandLine = "ADD ASTEROID 100 0,0 100,1000";
            game.IsMouseVisible = true;

            /*Add asteroids*/
            backgroundAsteroids.AddBackgroudAsteroids(300, 5000, 3000, 0, 0);
            backgroundPlanets.AddBackgroudPlanets();
        }