SerenityJS
    Preparing search index...

    Class EntityRidingTrait

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    entity: Entity

    The entity that this trait is attached to.

    entityRidingOn: Entity

    The entity that this entity is riding on.

    identifier: string = ...

    The identifier of the trait.

    components: string[] = []

    The entity component identifiers that this trait is compatible with by default. If empty, the trait will not be initialized by any component.

    identifier: "riding"

    The identifier of the trait.

    types: EntityIdentifier[] = []

    The entity type identifiers that this trait is compatible with by default.

    Accessors

    Methods