diff --git a/Gemfile.lock b/Gemfile.lock index 7ed5de6..94044a7 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -22,7 +22,7 @@ GEM specs: clipboard (1.3.4) cri (2.1.0) - excon (0.75.0) + excon (0.76.0) gosu (0.15.2) gosu (0.15.2-x64-mingw32) gosu_more_drawables (0.3.1) diff --git a/lib/states/game_states/game.rb b/lib/states/game_states/game.rb index 8a16385..f226c9e 100644 --- a/lib/states/game_states/game.rb +++ b/lib/states/game_states/game.rb @@ -9,11 +9,11 @@ class IMICFPS @player = @map.find_entity_by(name: "character") @camera = PerspectiveCamera.new( position: @player.position.clone, aspect_ratio: window.aspect_ratio ) @camera_controller = CameraController.new(mode: :fpv, camera: @camera, entity: @player) - @director = Networking::Director.new - @director.load_map(map_parser: @options[:map_parser]) + # @director = Networking::Director.new + # @director.load_map(map_parser: @options[:map_parser]) - @connection = Networking::Connection.new(address: "localhost", port: Networking::DEFAULT_SERVER_PORT) - @connection.connect + # @connection = Networking::Connection.new(address: "localhost", port: Networking::DEFAULT_SERVER_PORT) + # @connection.connect @hud = HUD.new(@player) @@ -38,8 +38,8 @@ class IMICFPS @hud.update @camera_controller.update - @connection.update - @director.tick(window.dt) + # @connection.update + # @director.tick(window.dt) @map.update @demo.update if @demo