mirror of
https://github.com/collinsmith/riiablo.git
synced 2025-02-22 20:48:55 +07:00
Committing notes on how to handle tree tiles
This commit is contained in:
parent
42c6073261
commit
a656ae4182
@ -619,6 +619,10 @@ public class MapRenderer {
|
|||||||
//break;
|
//break;
|
||||||
case Orientation.SOUTH_CORNER_WALL:
|
case Orientation.SOUTH_CORNER_WALL:
|
||||||
case Orientation.PILLAR:
|
case Orientation.PILLAR:
|
||||||
|
/**
|
||||||
|
* TODO: pseudocode: if TREE, assume only 1 tile in all 25 subtiles is unwalkable and use
|
||||||
|
* that position as the tile position and render it as if its an entity
|
||||||
|
*/
|
||||||
case Orientation.TREE: // TODO: should be in-line rendered with entities
|
case Orientation.TREE: // TODO: should be in-line rendered with entities
|
||||||
batch.draw(tile.tile.texture, px, py);
|
batch.draw(tile.tile.texture, px, py);
|
||||||
if (tile.tile.orientation == Orientation.RIGHT_NORTH_CORNER_WALL) {
|
if (tile.tile.orientation == Orientation.RIGHT_NORTH_CORNER_WALL) {
|
||||||
|
Loading…
Reference in New Issue
Block a user