class GameConfig

Included Modules

Defined in:

game_config.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

[View source]

Class Method Detail

def self.init_config #

[View source]
def self.instance #

[View source]

Instance Method Detail

def balance_hp : Float64 #

[View source]
def battle_music : Int32 #

[View source]
def campaign : Array(Int32) #

[View source]
def damping : Float64 #

[View source]
def difficulty : Int32 #

[View source]
def difficulty=(difficulty : Int32) #

[View source]
def easy_bonus : Float64 #

[View source]
def enemy_sound : Float64 #

[View source]
def fixed_class : Int32 #

[View source]
def hard_damage : Float64 #

[View source]
def map_cell : Int32 #

[View source]
def map_height : Int32 #

[View source]
def map_width : Int32 #

[View source]
def melee_force : Float64 #

[View source]
def menu_music : Int32 #

[View source]
def min_sound : Float64 #

[View source]
def move_force : Float64 #

[View source]
def move_speed : Float64 #

[View source]
def move_target : Float64 #

[View source]
def n_enemies : Int32 #

[View source]
def patch #

[View source]
def pathfinding : Bool #

[View source]
def seed : Int32 #

[View source]
def seed=(seed : Int32) #

[View source]
def sound_distance : Float64 #

[View source]
def void_expansion : Float64 #

[View source]
def void_passes : Int32 #

[View source]
def void_start : Float64 #

[View source]