struct Combat::ScenarioRecord

Defined in:

mechanics/scenario.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, scenario : Scenario, scale : Int32, warriors : Range(Int32, Int32), unlocked : ECS::Entity | Nil) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def clone #

[View source]
def copy_with(name _name = @name, scenario _scenario = @scenario, scale _scale = @scale, warriors _warriors = @warriors, unlocked _unlocked = @unlocked) #

[View source]
def name : String #

def scale : Int32 #

def scenario : Scenario #

def unlocked : ECS::Entity | Nil #

def warriors : Range(Int32, Int32) #