Move all snap stuff to snapshot folder
This commit is contained in:
parent
6fdaf3be90
commit
3c42b64a7b
|
@ -10,7 +10,7 @@ require_relative 'messages/maplist_entry_add'
|
|||
require_relative 'messages/maplist_entry_rem'
|
||||
require_relative 'packer'
|
||||
require_relative 'context'
|
||||
require_relative 'snapshot'
|
||||
require_relative 'snapshot/unpacker'
|
||||
|
||||
class GameClient
|
||||
attr_accessor :players, :pred_game_tick, :ack_game_tick
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_relative '../packer'
|
||||
require_relative '../../packer'
|
||||
|
||||
class NetObj
|
||||
class Character
|
|
@ -1,6 +1,6 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_relative '../packer'
|
||||
require_relative '../../packer'
|
||||
|
||||
class NetObj
|
||||
class GameData
|
|
@ -1,8 +1,8 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
require_relative 'snap_items/game_data'
|
||||
require_relative 'snap_items/character'
|
||||
require_relative 'packer'
|
||||
require_relative 'items/game_data'
|
||||
require_relative 'items/character'
|
||||
require_relative '../packer'
|
||||
|
||||
class SnapshotUnpacker
|
||||
def snap_single(chunk)
|
Loading…
Reference in a new issue