class Game::Deposit

Defined in:

game/deposit.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : Resource::Type, cap : Capacity, cur : Capacity) #

[View source]
def self.new(type : Resource::Type, cap : Capacity) #

[View source]

Instance Method Detail

def cap : Int32 #

[View source]
def cur : Int32 #

[View source]
def dec(value : Capacity) : Capacity #

[View source]
def inc(value : Capacity) : Capacity #

[View source]
def type : Game::Resource::Type #

[View source]