BROKEN: Work on netcode refactor

This commit is contained in:
2020-08-01 08:06:05 -05:00
parent 87b4b8ef92
commit e09bd06d24
9 changed files with 106 additions and 99 deletions

View File

@@ -1,10 +1,14 @@
class Peer
attr_reader :id, :hostname, :port, :data
def initialize(id:, hostname:, port:)
@id = id
@hostname = hostname
@port = port
module CyberarmEngine
module Networking
class Peer
attr_reader :id, :hostname, :port, :data
def initialize(id:, hostname:, port:)
@id = id
@hostname = hostname
@port = port
@data = {}
@data = {}
end
end
end
end