class

PointClickEngine::Core::Conditions::AndCondition

Inherits PointClickEngine::Core::Conditions::Condition < Reference < Object

AND composite - all conditions must be true

Constructors

new(conditions : Array(ConditionWrapper))
Source

Instance methods

add(condition : FlagCondition | VariableCondition | QuestCondition | TimeCondition | AchievementCondition | TrueCondition | FalseCondition | AndCondition | OrCondition | NotCondition)
Source
conditions
Source
evaluate(state : GameStateManager) : ConditionResult
Source
to_s

Returns a nicely readable and concise string representation of this object, typically intended for users.

This method should usually not be overridden. It delegates to #to_s(IO) which can be overridden for custom implementations.

Also see #inspect.

Source