Exemplo n.º 1
0
 public GameSession(Player player)
 {
     CurrentWorld         = WorldFactory.Immensea();
     CurrentPlayer        = player;
     CurrentPlayer.Weapon = ItemFactory.CreateWeapon(TypeID.PointyStick);
     CurrentLocation      = CurrentWorld.LocationAt(0, 0);
 }
Exemplo n.º 2
0
        protected Simulator(WorldFactory worldFactory)
        {
            IsRunning = false;
            Turn      = 1; // First Turn

            History = new Dictionary <int, World>()
            {
                { Turn, new World(worldFactory) }
            };

            InReview  = false; // Currently reviewing game (previous pressed - not last turn)
            ExecSpeed = 1000;  // 1s
        }