Class ElevatedOperation
Class that represents an elevated base between game operations, for which the context changes.
Inheritance
System.Object
Priority_Queue.FastPriorityQueueNode
Priority_Queue.StablePriorityQueueNode
ElevatedOperation
Inherited Members
Priority_Queue.StablePriorityQueueNode.InsertionIndex
Priority_Queue.FastPriorityQueueNode.Priority
Priority_Queue.FastPriorityQueueNode.QueueIndex
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Fibula.Mechanics.Operations
Assembly: Fibula.Mechanics.dll
Syntax
public abstract class ElevatedOperation : Operation, IEquatable<BaseEvent>, IElevatedOperation, IOperation, IEvent
Constructors
| Improve this Doc View SourceElevatedOperation(UInt32)
Initializes a new instance of the ElevatedOperation class.
Declaration
protected ElevatedOperation(uint requestorId)
Parameters
Type | Name | Description |
---|---|---|
System.UInt32 | requestorId | The id of the creature requesting the movement. |
Methods
| Improve this Doc View SourceExecute(IElevatedOperationContext)
Executes the operation's logic.
Declaration
protected abstract void Execute(IElevatedOperationContext context)
Parameters
Type | Name | Description |
---|---|---|
IElevatedOperationContext | context | The execution context for this operation. |
Execute(IOperationContext)
Executes the operation's logic.
Declaration
protected override void Execute(IOperationContext context)
Parameters
Type | Name | Description |
---|---|---|
IOperationContext | context | The execution context for this operation. |
Overrides
Implements
System.IEquatable<T>