示例#1
0
        static void InitializeLevel2()
        {
            // Ajout du PNJ
            Unite Pnj = new Syndra(new Vector2(7, 18));
            Text a = new Text("Dialogue2a");
            Text b = new Text("Dialogue2b");
            Pnj.Dialogue.Clear();
            Pnj.Dialogue.Add(a);
            Pnj.Dialogue.Add(b);

            Unites[1] = new List<Unite> { Pnj };
            Items[1] = new List<Item>{new BottesDacier(null, new Vector2(10,15))}; // bug, j.champion
            Waves[1] = PackWave.PackWaveLevel2();
        }
示例#2
0
        static void InitializeLevel1()
        {
            // Ajout du PNJ
            Unite Pnj = new Syndra(new Vector2(49, 39));
            Pnj.Dialogue.Clear();
            Pnj.Dialogue.Add(new Text("Dialogue1a"));
            Pnj.Dialogue.Add(new Text("Dialogue1b"));

            Unites[0] = new List<Unite> { Pnj };
            Items[0] = new List<Item>{
                new PotionDeVie(null, new Vector2(22, 24)),
                new PotionDeVie(null, new Vector2(23, 24)),
                new EpeeSolari(null, new Vector2(50, 39))}; // bug, j.champion
            Waves[0] = PackWave.PackWaveLevel1();

            // Ajout du stuff
            foreach (Joueur j in joueurs)
            {
                j.champion.Inventory = new List<Item>{
                new GantsDeDevotion(j.champion, Vector2.One),
                new Epaulieres(j.champion, Vector2.One),
                new HelmetPurple(j.champion, Vector2.One),
                new RingLionHead(j.champion, Vector2.One)};
            }
        }