Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EntitiesMapper ¶
type EntitiesMapper interface { GetEntities(EntitiesSubset) (Entities, error) AddEntityToSector(ulid.ID, ulid.ID) error RemoveEntityToSector(ulid.ID, ulid.ID) error }
EntitiesMapper set or get sector entities. Can also add or remove individual entity to sector.
type EntitiesSubset ¶
EntitiesSubset retrieves one Entities per sector ulid.ID only.
type S ¶
S represents a cuboid in the world.
type StarterMapper ¶
type StarterMapper interface { GetRandomStarter(StarterSubset) (Starter, error) SetStarter(Starter) error DelStarter(StarterSubset) error }
StarterMapper interfaces starter data interactions.
type StarterSubset ¶
StarterSubset retrieves a Starter by ID.
Click to show internal directories.
Click to hide internal directories.