From a656ae4182f7c210c521c66605d9c738ac66f670 Mon Sep 17 00:00:00 2001 From: Collin Smith Date: Sat, 2 Mar 2019 02:04:55 -0800 Subject: [PATCH] Committing notes on how to handle tree tiles --- core/src/gdx/diablo/map/MapRenderer.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/src/gdx/diablo/map/MapRenderer.java b/core/src/gdx/diablo/map/MapRenderer.java index f94f5e29..4b0baa25 100644 --- a/core/src/gdx/diablo/map/MapRenderer.java +++ b/core/src/gdx/diablo/map/MapRenderer.java @@ -619,6 +619,10 @@ public class MapRenderer { //break; case Orientation.SOUTH_CORNER_WALL: 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 batch.draw(tile.tile.texture, px, py); if (tile.tile.orientation == Orientation.RIGHT_NORTH_CORNER_WALL) {