-
class Senses:
Component
,IQueryable
¶ A relationship representing that an entity senses another entity. This is the inverse of the SensedBy relationship.
-
cells:
SparseGrid
¶ A sparse grid of cells representing the portion of the map the actor’s senses reveal.
-
explored:
SparseGrid
¶ A sparse grid of cells the actor’s senses have previously revealed.
-
remembered:
SparseGrid
¶ A sparse grid class that stores data using hashed coordinates. Similar to a SparseMap except here there is only one entry per grid coordinate. This is suitable for stuff like Cells.
-
actors:
ActorStorage
¶ An actor storage with the actors the player is aware of.
-
unknown:
SparseMap
<Vector2
>¶ Unkown actors are things the player is aware of the location of, but not the components.
-
exclusive:
boolean
¶ (static) Whether the relationship excludes other relationship types of the same kind.
-
generateSymmetric(self:
Relationship
):Relationship
?¶ Generates a symetric relationship to this one. Marriage -> Marraige for the other entity.
-
generateInverse(self:
Senses
): (sensedby:Relationship
)¶ - Returns:
sensedby (
Relationship
) – inverse SensedBy relationship.
Other members:
Inherited from
Component
:checkRequirements()
,getBase()
,getRequirements()
,owner
,requirements
Inherited from
IQueryable
:query
Inherited from
Object
:_serializationBlacklist
,adopt()
,assertType()
,className
,deserialize()
,extend()
,instanceOf()
,is()
,isInstance()
,mixin()
,prettyprint()
,serializationBlacklist
,serialize()
-
cells: