Constructor and Description |
---|
TileArea(int tx,
int ty,
int tw,
int th)
Create the tile area.
|
Modifier and Type | Method and Description |
---|---|
int |
getInTileHeight()
Get the height in tile.
|
int |
getInTileWidth()
Get the width in tile.
|
int |
getInTileX()
Get horizontal tile location.
|
int |
getInTileY()
Get vertical tile location.
|
public TileArea(int tx, int ty, int tw, int th)
tx
- The horizontal location in tile (superior or equal to 0).ty
- The vertical location in tile (superior or equal to 0).tw
- The width in tile (strictly superior to 0).th
- The height in tile (strictly superior to 0).LionEngineException
- If invalid arguments.public int getInTileX()
Tiled
getInTileX
in interface Tiled
public int getInTileY()
Tiled
getInTileY
in interface Tiled
public int getInTileWidth()
Tiled
getInTileWidth
in interface Tiled
public int getInTileHeight()
Tiled
getInTileHeight
in interface Tiled
Copyright © 2017 Byron 3D Games Studio. All rights reserved.