public ConsoleView(Player myPlayer, Pass pass, NPCList NPCs)
 {
     _myPlayer = myPlayer;
     _pass = pass;
     _NPCList = NPCs;
     InitializeConsoleWindow();
 }
 public ConsoleView(Player myPlayer, Pass pass, NPCList NPCs)
 {
     _myPlayer = myPlayer;
     _pass = pass;
     _NPCList = NPCs;
 }
        private void InitializePass()
        {
            _pass = new Pass();

            for (int caveNumber = 0; caveNumber < 4; caveNumber++)
            {
                _pass.Caves[caveNumber] = new Cave();
            }

            _pass.Caves[0].Name = "Traveler's Shelter";
            _pass.Caves[0].Description = "You are in the well known Traveler's Shelter. You find the cave has been used recently, most likely from a caravan that passed by a week ago.";
            _pass.Caves[0].Type = Cave.TypeName.Cave;
            _pass.Caves[0].IsLighted = true;
            _pass.Caves[0].CanEnter = true;

            _pass.Caves[1].Name = "Hidden Cave";
            _pass.Caves[1].Description = "You have found a hidden cave. Be wary, goblins are known to dwell in hidden caves. You peer around the corner and see goblins sleeping around a campfire, behind a stalagmite you see a poorly hidden chest.";
            _pass.Caves[1].Type = Cave.TypeName.Cave;
            _pass.Caves[1].IsLighted = true;
            _pass.Caves[1].CanEnter = true;
            //_pass.Caves[1].CaveNPC = new List<NPC>()
            //{
                //Name = "Gork the Stinky",
                //Gender = NPC.GenderType.Male,
                //Race = NPC.RaceType.Goblin,
            //};
            _pass.Caves[1].CaveNPC = _NPCList.NPCs[2];

            _pass.Caves[2].Name = "Abandoned Iron Mine";
            _pass.Caves[2].Description = "You are in an abandoned iron mine. The dwarves mined iron here for years, then one day they collapsed the tunnel and moved out in a hurry. Rumor has it they found something down there they didn't want to escape. There are some recent signs of active mining. Someone really wants to know whats down there.";
            _pass.Caves[2].Type = Cave.TypeName.Mine;
            _pass.Caves[2].IsLighted = false;
            _pass.Caves[2].CanEnter = true;
            _pass.Caves[2].CaveNPC = _NPCList.NPCs[1];

            _pass.Caves[3].Name = "Beholder's Cavern";
            _pass.Caves[3].Description = "You come to a cave entrance, and you attempt to enter but are repelled by an invisible barrier. You need a magical item to enter this cave.";
            _pass.Caves[3].Type = Cave.TypeName.Cavern;
            _pass.Caves[3].IsLighted = false;
            _pass.Caves[3].CanEnter = false;
            _pass.Caves[3].CaveNPC = _NPCList.NPCs[0];
        }