public class GKCompositeBehavior extends GKBehavior
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
GKCompositeBehavior(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static GKCompositeBehavior |
alloc() |
static GKCompositeBehavior |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
long |
behaviorCount()
Number of sub-behaviors in this behavior
|
static GKCompositeBehavior |
behaviorWithBehaviors(NSArray<? extends GKBehavior> behaviors)
Creates a behavior with an array of sub-behaviors
|
static GKCompositeBehavior |
behaviorWithBehaviorsAndWeights(NSArray<? extends GKBehavior> behaviors,
NSArray<? extends NSNumber> weights)
Creates a behavior with two associated arrays of sub-behaviors and weights
|
static GKCompositeBehavior |
behaviorWithGoals(NSArray<? extends GKGoal> goals) |
static GKCompositeBehavior |
behaviorWithGoalsAndWeights(NSArray<? extends GKGoal> goals,
NSArray<? extends NSNumber> weights) |
static GKCompositeBehavior |
behaviorWithGoalWeight(GKGoal goal,
float weight) |
static GKCompositeBehavior |
behaviorWithWeightedGoals(NSDictionary<? extends GKGoal,? extends NSNumber> weightedGoals) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static java.lang.String |
debugDescription_static() |
static java.lang.String |
description_static() |
static long |
hash_static() |
GKCompositeBehavior |
init() |
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
static GKCompositeBehavior |
new_objc() |
GKGoal |
objectAtIndexedSubscript(long idx)
Supports getting behaviors via a [int] subscript.
|
NSNumber |
objectForKeyedSubscript(GKBehavior behavior)
Supports getting a weight via a [behavior] subscript.
|
void |
removeAllBehaviors()
Removes all the sub-behavior on the behavior.
|
void |
removeBehavior(GKBehavior behavior)
Remove the indicated sub-behavior from this behavior.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
void |
setObjectForKeyedSubscript(NSNumber weight,
GKBehavior behavior)
Supports setting a weight via a [behavior] subscript.
|
static void |
setVersion_static(long aVersion) |
void |
setWeightForBehavior(float weight,
GKBehavior behavior)
Adds a new sub-behavior or changes the weight of the existing sub-behavior in this behavior.
|
static org.moe.natj.objc.Class |
superclass_static() |
static long |
version_static() |
float |
weightForBehavior(GKBehavior behavior)
Gets the current weight for a given sub-behavior.
|
copyWithZone, countByEnumeratingWithStateObjectsCount, goalCount, objectForKeyedSubscript, removeAllGoals, removeGoal, setObjectForKeyedSubscript, setWeightForGoal, weightForGoalaccessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKeyprotected GKCompositeBehavior(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static GKCompositeBehavior alloc()
public static GKCompositeBehavior allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static GKCompositeBehavior behaviorWithBehaviors(NSArray<? extends GKBehavior> behaviors)
public static GKCompositeBehavior behaviorWithBehaviorsAndWeights(NSArray<? extends GKBehavior> behaviors, NSArray<? extends NSNumber> weights)
public static GKCompositeBehavior behaviorWithGoalWeight(GKGoal goal, float weight)
public static GKCompositeBehavior behaviorWithGoals(NSArray<? extends GKGoal> goals)
public static GKCompositeBehavior behaviorWithGoalsAndWeights(NSArray<? extends GKGoal> goals, NSArray<? extends NSNumber> weights)
public static GKCompositeBehavior behaviorWithWeightedGoals(NSDictionary<? extends GKGoal,? extends NSNumber> weightedGoals)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static java.lang.String debugDescription_static()
public static java.lang.String description_static()
public static long hash_static()
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public static GKCompositeBehavior new_objc()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static long version_static()
public long behaviorCount()
public GKCompositeBehavior init()
init in class GKBehaviorpublic GKGoal objectAtIndexedSubscript(long idx)
objectAtIndexedSubscript in class GKBehaviorpublic NSNumber objectForKeyedSubscript(GKBehavior behavior)
public void removeAllBehaviors()
public void removeBehavior(GKBehavior behavior)
behavior - the sub-behavior to be removedpublic void setObjectForKeyedSubscript(NSNumber weight, GKBehavior behavior)
public void setWeightForBehavior(float weight,
GKBehavior behavior)
weight - the weight for this goalbehavior - the sub-behavior who's weight to changepublic float weightForBehavior(GKBehavior behavior)