private static IActor CreateHumanActor(HumanPlayer humanPlayer, IHumanPersonFactory personFactory, ISectorManager sectorManager, IActorManager actorManager, IPerkResolver perkResolver) { var person = personFactory.Create(); Console.WriteLine("Start properties:"); foreach (var equipment in person.EquipmentCarrier) { Console.WriteLine($"Equiped: {equipment}"); } foreach (var prop in person.Inventory.CalcActualItems()) { Console.WriteLine(prop); } humanPlayer.MainPerson = person; var playerActorStartNode = sectorManager.CurrentSector.Map.Regions .SingleOrDefault(x => x.IsStart).Nodes .First(); var actor = new Actor(humanPlayer.MainPerson, humanPlayer, playerActorStartNode, perkResolver); actorManager.Add(actor); return(actor); }