class

PointClickEngine::Scenes::InventoryCondition

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

Condition based on inventory items

Constructors

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

Condition based on inventory items

Source
new(item_name : String, has_item : Bool = true)
Source

Instance methods

evaluate(engine : Core::Engine) : Bool
Source
has_item
Source
has_item=(has_item : Bool)
Source
item_name
Source
item_name=(item_name : String)
Source