Click or drag to resize
Decorator Class
A decorator.
Inheritance Hierarchy

Namespace: Styx.TreeSharp
Assembly: Styx.TreeSharp (in Styx.TreeSharp.dll) Version: 3.0.1160.0 (3.0.1160)
public class Decorator : GroupComposite

The Decorator type exposes the following members.

Public propertyChildren
Gets or sets the children.
(Inherited from GroupComposite.)
Protected propertyCleanupHandlers (Inherited from Composite.)
Protected propertyContextChanger (Inherited from Composite.)
Public propertyDecoratedChild
Gets the decorated child.
Public propertyGuid
Gets a unique identifier.
(Inherited from Composite.)
Public propertyIsRunning
Returns true if the current behavior is running.
(Inherited from Composite.)
Public propertyLastStatus
Contains the execution status (if any) provided by the last Tick()
(Inherited from Composite.)
Public propertyParent
Gets or sets the parent.
(Inherited from Composite.)
Protected propertyRunner
Public propertySelection
Gets the selection.
(Inherited from GroupComposite.)
Public methodAddChild
Adds a child.
(Inherited from GroupComposite.)
Protected methodCanRun
Protected methodCleanup (Inherited from Composite.)
Public methodEquals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Composite.)
Public methodEquals(Composite)
Indicates whether the current object is equal to another object of the same type.
(Inherited from Composite.)
Protected methodExecute (Overrides CompositeExecute(Object).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Composite.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertChild
Inserts a child.
(Inherited from GroupComposite.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodStart
Initializes the Task into a runnable state by clearing the LastStatus (if any), clearing the cleanup handlers remaining (if any -- note that this may also trigger the IDisposable behavior of any remaining cleanup handlers on the cleanup stack), and reinitializing the execution enumerator.
(Overrides GroupCompositeStart(Object).)
Public methodStop
Stop will call all cleanup handlers!
(Inherited from Composite.)
Public methodTick
Executes the user code of the function, as expressed in Execute()
(Inherited from Composite.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Extension Methods
Public Extension MethodExecuteCoroutine
Executes the composite inside a coroutine.
(Defined by CoroutineCompositeExtensions.)
See Also
Inheritance Hierarchy