public Game()
        {
            world = new World();
            user = new User();
            networkManager = new ClientNetworkManager(world, user);

            _graphics = new GraphicsDeviceManager(this);
            Content.RootDirectory = "Content";
        }
        /// <summary>
        /// Constructs the client network manager
        /// </summary>
        public ClientNetworkManager(World world, User user)
        {
            // Construct the connection to the hub
            #if DEBUG
            //connection = new HubConnection("http://localhost:29058");
            connection = new HubConnection("http://10.105.242.205:29058");
            #else
            connection = new HubConnection("http://vectorarena.cloudapp.net");
            #endif

            // Construct the proxy to the hub
            proxy = connection.CreateHubProxy("ServerHub");

            // Setup the packet deserializer
            packetDeserializer = new PacketDeserializer();

            // Set the world context
            this.world = world;

            this.user = user;
        }