Objective-CclassGameplayKit
GKBehavior
@interface GKBehavior : NSObject <NSFastEnumeration, NSCopying>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolNSFastEnumeration
- protocolNSCopying
Members 27
- method
+ (id)behaviorWithGoal:(id)arg0 weight:(float)arg1; - method
+ (id)behaviorWithGoals:(id)arg0; - method
+ (id)behaviorWithGoals:(id)arg0 andWeights:(id)arg1; - method
+ (id)behaviorWithWeightedGoals:(id)arg0; - ivar
NSMutableArray *_goals;+0x8 - ivar
NSMutableArray *_weights;+0x10 - method
- (void).cxx_destruct; - method
- (id)copy; - method
- (id)copyWithZone:(struct _NSZone *)arg0; - method
- (unsigned long long)countByEnumeratingWithState:(struct { unsigned long long x0; id * x1; unsigned long long * x2; unsigned long long[5] x3; } *)arg0 objects:(id *)arg1 count:(unsigned long long)arg2; - method
- (unknown); - method
- (long long)goalCount; - method
- (id)goals; - method
- (id)init; - method
- (id)initWithGoal:(id)arg0 weight:(float)arg1; - method
- (id)initWithGoals:(id)arg0; - method
- (id)initWithGoals:(id)arg0 andWeights:(id)arg1; - method
- (id)initWithWeightedGoals:(id)arg0; - method
- (id)objectAtIndexedSubscript:(unsigned long long)arg0; - method
- (id)objectForKeyedSubscript:(id)arg0; - method
- (void)removeAllGoals; - method
- (void)removeGoal:(id)arg0; - method
- (void)setObject:(id)arg0 forKeyedSubscript:(id)arg1; - method
- (void)setWeight:(float)arg0 forGoal:(id)arg1; - method
- (float)weightForGoal:(id)arg0; - method
- (id)weights; - property
@property(readonly) long long goalCount;
Header
@interface GKBehavior : NSObject <NSFastEnumeration, NSCopying> { NSMutableArray *_goals; NSMutableArray *_weights; } @property (readonly) long long goalCount; + (id)behaviorWithGoal:(id)goal weight:(float)weight; + (id)behaviorWithGoals:(id)goals; + (id)behaviorWithGoals:(id)goals andWeights:(id)andWeights; + (id)behaviorWithWeightedGoals:(id)weightedGoals; - (id)copy; - (id)copyWithZone:(struct _NSZone *)zone; - (id)objectAtIndexedSubscript:(unsigned long long)indexedSubscript; - (unsigned long long)countByEnumeratingWithState:(struct { unsigned long long x0; id * x1; unsigned long long * x2; unsigned long long x3[5]; } *)state objects:(id *)objects count:(unsigned long long)count; - (void).cxx_destruct; - (id)objectForKeyedSubscript:(id)keyedSubscript; - (id)init; - (void)setObject:(id)object forKeyedSubscript:(id)forKeyedSubscript; - (id)weights; - (Unknown)getTotalForce:(Unknown)totalForce agent:(Unknown)agent; - (long long)goalCount; - (id)goals; - (id)initWithGoal:(id)goal weight:(float)weight; - (id)initWithGoals:(id)goals; - (id)initWithGoals:(id)goals andWeights:(id)andWeights; - (id)initWithWeightedGoals:(id)weightedGoals; - (void)removeAllGoals; - (void)removeGoal:(id)removeGoal; - (void)setWeight:(float)weight forGoal:(id)forGoal; - (float)weightForGoal:(id)goal; @end