mirror of
https://github.com/cyberarm/w3d_hub_linux_launcher.git
synced 2025-12-16 09:12:35 +00:00
Refactored to use pages
This commit is contained in:
14
lib/renegade_player.rb
Normal file
14
lib/renegade_player.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
class W3DHub
|
||||
class RenegadePlayer
|
||||
attr_accessor :name, :team, :score, :kills, :deaths, :ping
|
||||
|
||||
def initialize(name, team, score, kills, deaths, ping)
|
||||
@name = name
|
||||
@team = team
|
||||
@score = score
|
||||
@kills = kills
|
||||
@deaths = deaths
|
||||
@ping = ping
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user