public ServerNetworkManager(World world, UserManager userManager)
        {
            packetSerializer = new PacketSerializer();
            this.world = world;
            this.userManager = userManager;
            context = GlobalHost.ConnectionManager.GetHubContext<ServerHub>();

            // Setup the synchronization timer
            syncTimer = new Timer(1000 / syncsPerSecond);
            syncTimer.AutoReset = true;
            syncTimer.Elapsed += Sync;
        }
        /// <summary>
        /// Constructs the game
        /// </summary>
        public Game()
        {
            world = new World();

            updateTimer = new Timer(1000 / updatesPerSecond);
            updateTimer.AutoReset = true;
            updateTimer.Elapsed += Update;

            previousUpdateTime = DateTime.Now;

            UserManager = new UserManager(world.ShipManager);

            networkManager = new ServerNetworkManager(world, UserManager);

            Initialize();
        }