class Game::Deposit
- Game::Deposit
- Reference
- Object
Defined in:
game/deposit.crConstructors
- .new(type : Resource::Type, cap : Capacity, cur : Capacity)
- .new(type : Resource::Type, cap : Capacity)
Instance Method Summary
- #cap : Int32
- #cur : Int32
- #dec(value : Capacity) : Capacity
- #inc(value : Capacity) : Capacity
- #type : Game::Resource::Type