Ignore Class

Summary

A PlatformerGameKit.BehaviourTrees.ModifierNode which executes its PlatformerGameKit.BehaviourTrees.ModifierNode.Child but ignores the PlatformerGameKit.BehaviourTrees.Result it gives to return a fixed PlatformerGameKit.BehaviourTrees.Ignore.Result instead.
Assembly
PlatformerGameKit.dll
Namespace
PlatformerGameKit.BehaviourTrees
Interfaces
Base Types
graph BT Type-->Base0["ModifierNode"] click Base0 "/platformer/api/PlatformerGameKit.BehaviourTrees/ModifierNode" Base0-->Base1["Object"] Type-.->Interface0["IBehaviourNode"] click Interface0 "/platformer/api/PlatformerGameKit.BehaviourTrees/IBehaviourNode" Type-.->Interface1["IPolymorphic"] Type["Ignore"] class Type type-node

Syntax

[Serializable]
public sealed class Ignore : ModifierNode, IBehaviourNode, IPolymorphic

Remarks

Documentation: Behaviour Tree Brains - Modifiers

Attributes

Type Description
SerializableAttribute

Properties

Name Value Summary
Child IBehaviourNode
The other node on which PlatformerGameKit.BehaviourTrees.IBehaviourNode.Execute is called to determine the PlatformerGameKit.BehaviourTrees.Result of this node.
Inherited from ModifierNode
ChildCount int
The number of children this node has.
Inherited from ModifierNode
Result Result
The PlatformerGameKit.BehaviourTrees.Result which this node returns after executing its child.

Methods

Name Value Summary
Execute() Result
Runs this node's main logic.
GetChild(int) IBehaviourNode
Gets the child node at the specified `index`.
Inherited from ModifierNode