Class GKComponent

All Implemented Interfaces:
NSCoding, NSObjectProtocol, NSSecureCoding, ObjCProtocol
Direct Known Subclasses:
GKAgent, GKSCNNodeComponent, GKSKNodeComponent

public class GKComponent
extends NSObject
implements NSSecureCoding
Since:
Available in iOS 9.0 and later.
  • Constructor Details

    • GKComponent

      public GKComponent()
    • GKComponent

      protected GKComponent​(NSObject.Handle h, long handle)
    • GKComponent

      protected GKComponent​(NSObject.SkipInit skipInit)
    • GKComponent

      public GKComponent​(NSCoder coder)
  • Method Details

    • getEntity

      public GKEntity getEntity()
    • supportsSecureCoding

      public static boolean supportsSecureCoding()
    • update

      public void update​(double seconds)
    • didAddToEntity

      public void didAddToEntity()
    • willRemoveFromEntity

      public void willRemoveFromEntity()
    • encode

      public void encode​(NSCoder coder)
      Specified by:
      encode in interface NSCoding
    • init

      protected long init​(NSCoder coder)