Class: OvercastAPI::PvPEncounter

Inherits:
Object
  • Object
show all
Defined in:
lib/overcast_api.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(killer, victim, map, time) ⇒ PvPEncounter

Returns a new instance of PvPEncounter.



173
174
175
176
177
178
# File 'lib/overcast_api.rb', line 173

def initialize(killer, victim, map, time)
  @killer = killer
  @victim = victim
  @map = map
  @time = time
end

Instance Attribute Details

#killerObject (readonly)

Returns the value of attribute killer.



169
170
171
# File 'lib/overcast_api.rb', line 169

def killer
  @killer
end

#mapObject (readonly)

Returns the value of attribute map.



171
172
173
# File 'lib/overcast_api.rb', line 171

def map
  @map
end

#timeObject (readonly)

Returns the value of attribute time.



172
173
174
# File 'lib/overcast_api.rb', line 172

def time
  @time
end

#victimObject (readonly)

Returns the value of attribute victim.



170
171
172
# File 'lib/overcast_api.rb', line 170

def victim
  @victim
end