Class: QuakeliveApi::Items::Weapon

Inherits:
Struct
  • Object
show all
Includes:
Structurable
Defined in:
lib/quakelive_api/items/weapon.rb

Instance Attribute Summary collapse

Method Summary

Methods included from Structurable

#initialize

Instance Attribute Details

#accuracyObject

Returns the value of attribute accuracy

Returns:

  • (Object)

    the current value of accuracy



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def accuracy
  @accuracy
end

#fragsObject

Returns the value of attribute frags

Returns:

  • (Object)

    the current value of frags



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def frags
  @frags
end

#hitsObject

Returns the value of attribute hits

Returns:

  • (Object)

    the current value of hits



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def hits
  @hits
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def name
  @name
end

#shotsObject

Returns the value of attribute shots

Returns:

  • (Object)

    the current value of shots



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def shots
  @shots
end

#usageObject

Returns the value of attribute usage

Returns:

  • (Object)

    the current value of usage



3
4
5
# File 'lib/quakelive_api/items/weapon.rb', line 3

def usage
  @usage
end