Objective-CclassGameplayKit
GKCompositeBehavior
@interface GKCompositeBehavior : GKBehavior
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classGKBehavior
Members 18
- method
+ (id)behaviorWithBehaviors:(id)arg0; - method
+ (id)behaviorWithBehaviors:(id)arg0 andWeights:(id)arg1; - ivar
NSMutableArray *_subBehaviorWeights;+0x20 - ivar
NSMutableArray *_subBehaviors;+0x18 - method
- (void).cxx_destruct; - method
- (long long)behaviorCount; - method
- (unknown); - method
- (id)init; - method
- (id)initWithBehaviors:(id)arg0; - method
- (id)initWithBehaviors:(id)arg0 andWeights:(id)arg1; - method
- (id)objectAtIndexedSubscript:(unsigned long long)arg0; - method
- (id)objectForKeyedSubscript:(id)arg0; - method
- (void)removeAllBehaviors; - method
- (void)removeBehavior:(id)arg0; - method
- (void)setObject:(id)arg0 forKeyedSubscript:(id)arg1; - method
- (void)setWeight:(float)arg0 forBehavior:(id)arg1; - method
- (float)weightForBehavior:(id)arg0; - property
@property(readonly) long long behaviorCount;
Header
@interface GKCompositeBehavior : GKBehavior { NSMutableArray *_subBehaviors; NSMutableArray *_subBehaviorWeights; } @property (readonly) long long behaviorCount; + (id)behaviorWithBehaviors:(id)behaviors; + (id)behaviorWithBehaviors:(id)behaviors andWeights:(id)andWeights; - (id)objectAtIndexedSubscript:(unsigned long long)indexedSubscript; - (id)objectForKeyedSubscript:(id)keyedSubscript; - (void).cxx_destruct; - (void)setObject:(id)object forKeyedSubscript:(id)forKeyedSubscript; - (id)init; - (void)removeBehavior:(id)removeBehavior; - (void)removeAllBehaviors; - (long long)behaviorCount; - (Unknown)getTotalForce:(Unknown)totalForce agent:(Unknown)agent; - (id)initWithBehaviors:(id)behaviors; - (id)initWithBehaviors:(id)behaviors andWeights:(id)andWeights; - (void)setWeight:(float)weight forBehavior:(id)forBehavior; - (float)weightForBehavior:(id)behavior; @end