Class: Openra::Struct::Player

Inherits:
Openra::Struct show all
Defined in:
lib/openra/struct/player.rb

Constant Summary

Constants inherited from Openra::Struct

DEFAULT_PROCESSOR, UNDEFINED

Instance Method Summary collapse

Methods inherited from Openra::Struct

define, inherited, new, preprocessor

Instance Method Details

#teamObject



25
26
27
# File 'lib/openra/struct/player.rb', line 25

def team
  attributes[:team] == '0' ? nil : attributes[:team]
end