mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
More fleshing out of networking
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class IMICFPS
|
||||
module Networking
|
||||
MAX_CLIENTS = 32
|
||||
|
||||
class Server
|
||||
MAX_CLIENTS = 32
|
||||
|
||||
attr_reader :hostname, :port, :max_clients, :clients
|
||||
def initialize(hostname:, port:, max_clients: MAX_CLIENTS)
|
||||
@hostname = hostname
|
||||
|
||||
Reference in New Issue
Block a user