TileContainer

constructor(numX: Int, numY: Int, tileWidth: Float, tileHeight: Float)

Erstellt einen leeren Tile-Container. Er ist erst "sichtbar", wenn Tiles gesetzt werden.

Parameters

numX

Die Anzahl an Tiles in X-Richtung.

numY

Die Anzahl an Tiles in Y-Richtung.

tileWidth

Die Breite eines Tiles in Meter.

tileHeight

Die Höhe eines Tiles in Meter.

See also


constructor(numX: Int, numY: Int, tileSize: Float)

Erstellt einen leeren Tile-Container für quadratische Tiles. Er ist erst "sichtbar", wenn Tiles gesetzt werden.

Parameters

numX

Die Anzahl an Tiles in X-Richtung.

numY

Die Anzahl an Tiles in Y-Richtung.

tileSize

Die Höhe und Breite eines Tiles in Pixel.

See also