public GameSession() { // Create message log messageLog = new MessageLog(); // Populate player object CurrentPlayer = new Player("Dom", 500, 500, 0, 1, 0); // Create new GUI dimensions gui = new GUI(100, 30); // Create new WorldFactory WorldFactory worldFactory = new WorldFactory(); // Put it into CurrentWorld property CurrentWorld = worldFactory.CreateWorld(); CurrentLocation = CurrentWorld.GetLocation(0, 0); // Create new ActionFactory ActionFactory actionFactory = new ActionFactory(); action = actionFactory.CreateAction(); battleAction = actionFactory.CreateBattleAction(); CurrentPlayer.AddItemToInventory(ItemFactory.CreateItem(2001)); CurrentPlayer.AddItemToInventory(ItemFactory.CreateItem(2002)); CurrentPlayer.AddItemToInventory(ItemFactory.CreateItem(2003)); CurrentPlayer.AddItemToInventory(ItemFactory.CreateItem(1001)); CurrentPlayer.CurrentWeapon = CurrentPlayer.Inventory.Where(i => i.Type == Item.ItemType.Weapon).FirstOrDefault(); }