Loading...
Searching...
No Matches
PixelCrushers.QuestMachine.Fact Class Reference

A fact is a record in a world model, specifically a count of entities in a domain. More...

Public Member Functions

 Fact (DomainType domainType, EntityType entityType, int count, float urgency=0)
 
 Fact (Fact source)
 

Properties

DomainType domainType [get, set]
 The domain containing one or more of an entity.
 
EntityType entityType [get, set]
 The type of entity in the domain.
 
int count [get, set]
 The amount of this entity in the domain.
 
float urgency [get, set]
 

Detailed Description

A fact is a record in a world model, specifically a count of entities in a domain.

Constructor & Destructor Documentation

◆ Fact() [1/2]

PixelCrushers.QuestMachine.Fact.Fact ( DomainType  domainType,
EntityType  entityType,
int  count,
float  urgency = 0 
)
inline

◆ Fact() [2/2]

PixelCrushers.QuestMachine.Fact.Fact ( Fact  source)
inline

Property Documentation

◆ count

int PixelCrushers.QuestMachine.Fact.count
getset

The amount of this entity in the domain.

◆ domainType

DomainType PixelCrushers.QuestMachine.Fact.domainType
getset

The domain containing one or more of an entity.

◆ entityType

EntityType PixelCrushers.QuestMachine.Fact.entityType
getset

The type of entity in the domain.

◆ urgency

float PixelCrushers.QuestMachine.Fact.urgency
getset

The documentation for this class was generated from the following file: