class Game::ResourceBag
- Game::ResourceBag
- Reference
- Object
Defined in:
game/resources.crConstructors
Instance Method Summary
- #[](res_type : Resource::Type)
- #dec(res_type : Resource::Type, value : Capacity)
- #dec(other : self)
- #has(res_type : Resource::Type, value : Capacity) : Bool
- #has(res : Resource) : Bool
- #has(vs : ResourceHash) : Bool
- #has(vs : self) : Bool
- #inc(res_type : Resource::Type, value : Capacity)
- #inc(res : Resource)
- #inc(vs : ResourceHash)
- #inc(other : self)