Module yareio_sys::spirit[][src]

Expand description

Provides access to spirits.

Structs

An enemy spirit that has zero HP.

The ID of a DeadEnemySpirit.

A friendly spirit that has zero HP.

The ID of a DeadFriendlySpirit.

A spirit that has positive HP.

The ID of a DeadSpirit.

A spirit that does not belong to you.

The ID of an EnemySpirit.

A spirit that belongs to you.

The ID of a FriendlySpirit.

An enemy spirit that has positive HP.

The ID of a LivingEnemySpirit.

A spirit that has positive HP.

The ID of a LivingSpirit.

A Spirit that is “operable”, meaning that you can call methods on it. A spirit is “operable” if and only if it belongs to you, and it has an hp of 1.

The ID of an OperableSpirit.

A spirit.

The ID of a Spirit.

Functions

my_spirits, as a Vec.

spirits. Use the GetByID trait to retrieve individual spirits.

Type Definitions