Class: OvercastAPI::PvPEncounter
- Inherits:
-
Object
- Object
- OvercastAPI::PvPEncounter
- Defined in:
- lib/overcast_api.rb
Instance Attribute Summary collapse
-
#killer ⇒ Object
readonly
Returns the value of attribute killer.
-
#map ⇒ Object
readonly
Returns the value of attribute map.
-
#time ⇒ Object
readonly
Returns the value of attribute time.
-
#victim ⇒ Object
readonly
Returns the value of attribute victim.
Instance Method Summary collapse
-
#initialize(killer, victim, map, time) ⇒ PvPEncounter
constructor
A new instance of PvPEncounter.
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
#killer ⇒ Object (readonly)
Returns the value of attribute killer.
169 170 171 |
# File 'lib/overcast_api.rb', line 169 def killer @killer end |
#map ⇒ Object (readonly)
Returns the value of attribute map.
171 172 173 |
# File 'lib/overcast_api.rb', line 171 def map @map end |
#time ⇒ Object (readonly)
Returns the value of attribute time.
172 173 174 |
# File 'lib/overcast_api.rb', line 172 def time @time end |
#victim ⇒ Object (readonly)
Returns the value of attribute victim.
170 171 172 |
# File 'lib/overcast_api.rb', line 170 def victim @victim end |