示例#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();
        }
示例#2
0
        public TrepiEncounter(TrepiPlayer player)
        {
            Player = player;

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

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