Class: Openra::Struct::GlobalSettings

Inherits:
Openra::Struct show all
Defined in:
lib/openra/struct/global_settings.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

#frametime_multiplierObject



37
38
39
40
41
42
43
# File 'lib/openra/struct/global_settings.rb', line 37

def frametime_multiplier
  if timestep
    timestep * 3
  else
    net_frame_interval * 40
  end
end