Oolite 1.91.0.7644-241112-7f5034b
|
#include <AI.h>
Class Methods | |
(AI *) | + currentlyRunningAI |
(NSString *) | + currentlyRunningAIDescription |
(void) | + deferredCallTrampolineWithInfo: [implementation] |
Private Attributes | |
id | _owner |
NSString * | ownerDesc |
NSDictionary * | stateMachine |
NSString * | stateMachineName |
NSString * | currentState |
NSMutableSet * | pendingMessages |
NSMutableArray * | aiStack |
OOTimeAbsolute | nextThinkTime |
OOTimeDelta | thinkTimeInterval |
NSString * | jsScript |
Additional Inherited Members | |
Protected Attributes inherited from OOWeakRefObject | |
OOWeakReference * | weakSelf |
- (NSString *) associatedJS |
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
- (void) clearAllData |
Definition at line 400 of file AI.m.
References AIStackElement::aiName, AIStackElement::back, AIStackElement::context, count, currentState, kOOLogException, kRecursionLimiter, AIStackElement::message, nil, NO_TARGET, OOLog, OOLogERR, owner, AIStackElement::owner, sCurrentlyRunningAI, sStack, AIStackElement::state, stateMachine, stateMachineName, and takeAction:.
+ (NSString *) currentlyRunningAIDescription |
|
implementation |
Reimplemented from OOWeakRefObject.
Definition at line 87 of file AI.m.
- (void) debugDumpPendingMessages |
Definition at line 400 of file AI.m.
|
implementation |
Provided by category AI(OOAIDebugInspectorModule).
Definition at line 1 of file OOAIDebugInspectorModule.m.
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
|
implementation |
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
- (void) dropMessage: | (NSString *) | ms |
- (void) exitStateMachineWithMessage: | (NSString *) | message |
Definition at line 87 of file AI.m.
Referenced by ShipExitAI().
- (BOOL) hasSuspendedStateMachines |
|
implementation |
- (id) initWithStateMachine: | (NSString *) | smName | |
andState: | (NSString *) | stateName |
|
implementation |
Provided by category AI(OOAIDebugInspectorModule).
Definition at line 1 of file OOAIDebugInspectorModule.m.
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
- (void) message: | (NSString *) | ms |
Definition at line 400 of file AI.m.
- (NSString *) name |
Definition at line 87 of file AI.m.
Referenced by AI(OOAIDebugInspectorModule)::debugInspectorModules, and ShipGetProperty().
- (OOTimeAbsolute) nextThinkTime |
- (ShipEntity *) owner |
Definition at line 87 of file AI.m.
Referenced by clearAllData, and AI(OOAIDebugInspectorModule)::debugInspectorModules.
- (NSSet *) pendingMessages |
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
- (void) preserveCurrentStateMachine |
Definition at line 87 of file AI.m.
- (void) reactToMessage: | (NSString *) | message | |
context: | (NSString *) | debugContext |
Definition at line 400 of file AI.m.
|
implementation |
Provided by category AI(OOPrivate).
Definition at line 397 of file AI.m.
|
implementation |
Definition at line 87 of file AI.m.
- (void) restorePreviousStateMachine |
Definition at line 87 of file AI.m.
- (void) setNextThinkTime: | (OOTimeAbsolute) | ntt |
- (void) setOwner: | (ShipEntity *) | ship |
- (void) setState: | (NSString *) | stateName |
Definition at line 87 of file AI.m.
Referenced by ShipSetProperty().
- (void) setState: | (NSString *) | stateName | |
afterDelay: | (NSTimeInterval) | delay |
- (void) setStateMachine: | (NSString *) | smName | |
afterDelay: | (NSTimeInterval) | delay |
- (void) setStateMachine: | (NSString *) | smName | |
withJSScript: | (NSString *) | script |
Definition at line 87 of file AI.m.
- (void) setThinkTimeInterval: | (OOTimeDelta) | tti |
|
implementation |
- (NSUInteger) stackDepth |
Definition at line 87 of file AI.m.
Referenced by AI(OOAIDebugInspectorModule)::debugInspectorModules.
- (NSString *) state |
Definition at line 87 of file AI.m.
Referenced by AI(OOAIDebugInspectorModule)::debugInspectorModules, and ShipGetProperty().
- (void) takeAction: | (NSString *) | action |
Definition at line 400 of file AI.m.
Referenced by clearAllData.
- (void) think |
Definition at line 400 of file AI.m.
- (OOTimeDelta) thinkTimeInterval |
|
private |
Definition at line 45 of file AI.h.
Referenced by clearAllData.
|
private |
Definition at line 50 of file AI.h.
Referenced by AI(OOAIDebugInspectorModule)::debugInspectorModules.
|
private |
Definition at line 46 of file AI.h.
Referenced by AI(OOAIDebugInspectorModule)::debugInspectorModules.
|
private |
Definition at line 43 of file AI.h.
Referenced by clearAllData.
|
private |
Definition at line 44 of file AI.h.
Referenced by clearAllData.
|
private |