struct Launcher

Defined in:

mechanics/craft.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(range : Int32, chance : Float64, ammo_type : Int32) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def ammo_type : Int32 #

def chance : Float64 #

def clone #

[View source]
def copy_with(range _range = @range, chance _chance = @chance, ammo_type _ammo_type = @ammo_type) #

[View source]
def desc #

[View source]
def range : Int32 #