struct Ammo

Defined in:

mechanics/craft.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(ammo_type : Int32, damage : Int32) #

[View source]

Class Method Detail

def self.component_index #

Instance Method Detail

def ammo_type : Int32 #

def clone #

[View source]
def copy_with(ammo_type _ammo_type = @ammo_type, damage _damage = @damage) #

[View source]
def damage : Int32 #

def desc #

[View source]