Package org.robovm.apple.gameplaykit
Class GKEntity
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.gameplaykit.GKEntity
-
- All Implemented Interfaces:
NSCoding
,NSObjectProtocol
,NSSecureCoding
,org.robovm.objc.ObjCProtocol
public class GKEntity extends NSObject implements NSSecureCoding
- Since:
- Available in iOS 9.0 and later.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GKEntity.GKEntityPtr
-
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 GKEntity()
GKEntity(NSCoder decoder)
protected
GKEntity(NSObject.Handle h, long handle)
protected
GKEntity(NSObject.SkipInit skipInit)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addComponent(GKComponent component)
void
encode(NSCoder coder)
GKComponent
getComponent(java.lang.Class<? extends GKComponent> componentClass)
NSArray<GKComponent>
getComponents()
protected long
init(NSCoder decoder)
void
removeComponent(java.lang.Class<? extends GKComponent> componentClass)
static boolean
supportsSecureCoding()
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
-
GKEntity
public GKEntity()
-
GKEntity
protected GKEntity(NSObject.Handle h, long handle)
-
GKEntity
protected GKEntity(NSObject.SkipInit skipInit)
-
GKEntity
public GKEntity(NSCoder decoder)
-
-
Method Detail
-
getComponents
public NSArray<GKComponent> getComponents()
-
supportsSecureCoding
public static boolean supportsSecureCoding()
-
update
public void update(double seconds)
-
addComponent
public void addComponent(GKComponent component)
-
removeComponent
public void removeComponent(java.lang.Class<? extends GKComponent> componentClass)
-
getComponent
public GKComponent getComponent(java.lang.Class<? extends GKComponent> componentClass)
-
init
protected long init(NSCoder decoder)
-
-