Class SKTileMapNode

    • Constructor Detail

      • SKTileMapNode

        public SKTileMapNode()
      • SKTileMapNode

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

        public SKTileMapNode​(SKTileSet tileSet,
                             long columns,
                             long rows,
                             CGSize tileSize)
      • SKTileMapNode

        public SKTileMapNode​(NSCoder decoder)
    • Method Detail

      • getNumberOfColumns

        public long getNumberOfColumns()
      • setNumberOfColumns

        public void setNumberOfColumns​(long v)
      • getNumberOfRows

        public long getNumberOfRows()
      • setNumberOfRows

        public void setNumberOfRows​(long v)
      • getTileSize

        public CGSize getTileSize()
      • setTileSize

        public void setTileSize​(CGSize v)
      • getMapSize

        public CGSize getMapSize()
      • setTileSet

        public void setTileSet​(SKTileSet v)
      • getColorBlendFactor

        public double getColorBlendFactor()
      • setColorBlendFactor

        public void setColorBlendFactor​(double v)
      • getColor

        public UIColor getColor()
      • setColor

        public void setColor​(UIColor v)
      • setBlendMode

        public void setBlendMode​(SKBlendMode v)
      • getAnchorPoint

        public CGPoint getAnchorPoint()
      • setAnchorPoint

        public void setAnchorPoint​(CGPoint v)
      • getShader

        public SKShader getShader()
      • setShader

        public void setShader​(SKShader v)
      • getLightingBitMask

        public int getLightingBitMask()
      • setLightingBitMask

        public void setLightingBitMask​(int v)
      • isEnableAutomapping

        public boolean isEnableAutomapping()
      • setEnableAutomapping

        public void setEnableAutomapping​(boolean v)
      • init

        protected long init​(SKTileSet tileSet,
                            long columns,
                            long rows,
                            CGSize tileSize)
      • setValue

        public void setValue​(SKAttributeValue value,
                             java.lang.String key)
        Overrides:
        setValue in class SKNode
        Since:
        Available in iOS 10.0 and later.
      • getTileDefinition

        public SKTileDefinition getTileDefinition​(long column,
                                                  long row)
      • getTileGroup

        public SKTileGroup getTileGroup​(long column,
                                        long row)
      • setTileGroup

        public void setTileGroup​(SKTileGroup tileGroup,
                                 long column,
                                 long row)
      • tileColumnIndexFromPosition

        public long tileColumnIndexFromPosition​(CGPoint position)
      • tileRowIndexFromPosition

        public long tileRowIndexFromPosition​(CGPoint position)
      • getCenterOfTile

        public CGPoint getCenterOfTile​(long column,
                                       long row)