Beispiel #1
0
        void InitPlayer()
        {
            Console.WriteLine("Enter name:");

            Player = new TrepiPlayer(Console.ReadLine());
            Player.LevelUp(10);

            Console.WriteLine();
            Console.WriteLine("Welcome, " + Player.Name + " to an unforgiving world of pain. Please enjoy =)");
            WaitToContinue();
        }
Beispiel #2
0
        public TrepiEncounter(TrepiPlayer player)
        {
            Player = player;

            InitEnemies();
            InitConsumables();
            InitLoreEntities();
            InitSpawnables();

            Options = new List <string>();
            Results = new List <Action>();
        }
Beispiel #3
0
 public void Heal(TrepiPlayer player)
 {
     player.AddHealth(NutritionValue);
 }