class

PointClickEngine::Scenes::StateCondition

Inherits PointClickEngine::Scenes::Condition < YAML::Serializable < Reference < Object

Condition based on game state variables

Constructors

new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)

Condition based on game state variables

Source
new(variable : String, value : String | Int32 | Float32 | Bool, operator : ComparisonOperator = ComparisonOperator::Equals)
Source

Instance methods

evaluate(engine : Core::Engine) : Bool
Source
operator
Source
operator=(operator : ComparisonOperator)
Source
value
Source
value=(value : String | Int32 | Float32 | Bool)
Source
variable
Source
variable=(variable : String)
Source