Basics

Guides

API Reference

Menu

Basics

Guides

API Reference

class: Tile

[14:7] extends: FxObj

Wraps FXGL's Tile data class (com.almasb.fxgl.entity.level.tiled.Tile), one entry in a collection-of-images tileset. Stores the tile id, the source image path, image dimensions, and the optional transparent color hint.

Methods

  • Tile ()

    Empty default constructor; populated by adopt.

  • adopt (object Ajo)

    Wraps an existing Tile AussomJavaObject.

  • getId ()

  • getImage ()

  • getImagewidth ()

  • getImageheight ()

  • getTransparentcolor ()

  • setId (int V)

  • setImage (string V)

  • setImagewidth (int V)

  • setImageheight (int V)

  • setTransparentcolor (string V)