Package org.robovm.apple.gameplaykit
Class GKComponentSystem<T extends GKComponent>
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKComponentSystem<T>
-
- All Implemented Interfaces:
java.lang.Iterable<T>
,NSFastEnumeration
,NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public class GKComponentSystem<T extends GKComponent> extends NSObject implements NSFastEnumeration, java.lang.Iterable<T>
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKComponentSystem.GKComponentSystemPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Modifier Constructor Description GKComponentSystem(java.lang.Class<? extends T> cls)
protected
GKComponentSystem(NSObject.Handle h, long handle)
protected
GKComponentSystem(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponent(GKEntity entity)
void
addComponent(T component)
java.lang.Class<?>
classForGenericArgumentAtIndex(long index)
protected T
get(long idx)
java.lang.Class<? extends T>
getComponentClass()
NSArray<T>
getComponents()
protected long
init(java.lang.Class<? extends T> cls)
java.util.Iterator<T>
iterator()
void
removeComponent(GKEntity entity)
void
removeComponent(T component)
void
update(double seconds)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Constructor Detail
-
GKComponentSystem
protected GKComponentSystem(NSObject.Handle h, long handle)
-
GKComponentSystem
protected GKComponentSystem(NSObject.SkipInit skipInit)
-
GKComponentSystem
public GKComponentSystem(java.lang.Class<? extends T> cls)
-
-
Method Detail
-
getComponentClass
public java.lang.Class<? extends T> getComponentClass()
-
iterator
public java.util.Iterator<T> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<T extends GKComponent>
-
get
protected T get(long idx)
-
init
protected long init(java.lang.Class<? extends T> cls)
-
addComponent
public void addComponent(T component)
-
addComponent
public void addComponent(GKEntity entity)
-
removeComponent
public void removeComponent(GKEntity entity)
-
removeComponent
public void removeComponent(T component)
-
update
public void update(double seconds)
-
classForGenericArgumentAtIndex
public java.lang.Class<?> classForGenericArgumentAtIndex(long index)
-
-