class Openra::Struct::GameOptions

Public Instance Methods

bounties_enabled() click to toggle source
# File lib/openra/struct/game_options.rb, line 26
def bounties_enabled
  attributes.fetch(:bounties_enabled, BooleanOption.new(
    value: true,
    preferred_value: true
  ))
end
conyard_undeploy_enabled() click to toggle source
# File lib/openra/struct/game_options.rb, line 33
def conyard_undeploy_enabled
  attributes.fetch(:conyard_undeploy_enabled, BooleanOption.new(
    value: true,
    preferred_value: true
  ))
end
restricted_build_radius_enabled() click to toggle source
# File lib/openra/struct/game_options.rb, line 40
def restricted_build_radius_enabled
  attributes.fetch(:restricted_build_radius_enabled, BooleanOption.new(
    value: true,
    preferred_value: true
  ))
end