[][src]Module akashi::components

Implementations of basic components for use in games.

Re-exports

pub use resource::InvalidAddition;
pub use resource::InvalidSet;
pub use resource::InvalidSoftCapAdjustment;
pub use resource::InvalidSubtraction;

Modules

card_type

Utilities for working with in-game card categories or types.

inventory

Card inventories as Player components.

resource

A data type for player-held game resource counts.

Structs

AttachedCardType

A Component representing a particular CardType entity that is associated with a Card.

CardType

An Entity representing an abstract card type.

Inventory

Represents a collection of Card entities.

Resource

Represents an arbitrary numeric player resource, with optional lower and upper caps.

Type Definitions

CardTypeLayer

Acts as a ComponentBackend for AttachedCardTypes by wrapping another ComponentBackend.

InventoryBackendWrapper

Acts as a [ComponentBackend] for Inventories by wrapping another [ComponentBackend].