Module all_is_cubes::inv
source · Expand description
Structs§
- A wrapper around a value which cannot be printed or serialized, used primarily to allow external functions to be called from objects within a
Universe
. - Iterator over all values of
Icons
. - A collection of
Tool
s (items). - Description of a change to an
Inventory
for use in listeners. - Implementation type for
InventoryTransaction::CommitCheck
. - Transaction type for
Inventory
. - Resources available to a
Tool
to perform its function.
Enums§
- Blocks that are icons for
Tool
s. - Transaction conflict error type for an
InventoryTransaction
. - A
Tool
is an object which a character can use to have some effect in the game, such as placing or removing a block. In particular, a tool use usually corresponds to a click. - Ways that a tool can fail.
Constants§
- There are a few places where an assumption currently has to be made about the maximum number of usable mouse-buttons (or equivalent) that the user has. This constant documents that assumption.