Example #1
0
        static void Main(string[] args)
        {
            Console.WriteLine("Bonjour aventurier ! Quel est votre nom ?");
            // Hero hero = new Hero(Console.ReadLine());
            MenuHandler.getInstance().hero = new Hero(Console.ReadLine());
            // FightHandler fm = new FightHandler(hero, new SpiderSwarm());
            // fm.startFight();

            Loot  loot    = new Loot(500, 500);
            Quest quest   = new Quest("La colère des orcs", "Exploser beaucoup trop d'araignées en fait... ", 1, loot);
            Pnj   mainPnj = new Pnj("Esteban", 100, 1000, 1000, quest);

            mainPnj.makeAchoice();
            // MenuHandler.getInstance().returnToMenu();
        }
Example #2
0
 public PnjMenuItem(string name, Pnj pnj)
 {
     this.name          = name;
     this.associatedPnj = pnj;
 }