Now About Social Code
summaryrefslogtreecommitdiff
path: root/scripts/tile.gd
diff options
context:
space:
mode:
authorLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-26 15:59:53 +0100
committerLucas Fryzek <lucas.fryzek@fryzekconcepts.com>2024-09-26 16:02:29 +0100
commit0127a8ec6c66a9abaeb97f0b02b70d5d91a835cc (patch)
tree949f345bedd25d7cfcad421e964e32cff6368639 /scripts/tile.gd
parentd29a892d287b52beb48c331c0da7bc59ac3db237 (diff)
bsp_level_generator: Add special door tile
Having a specific door tile will prevent overlapping doors from generating as the check for a floor next to the door will fail.
Diffstat (limited to 'scripts/tile.gd')
-rw-r--r--scripts/tile.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/tile.gd b/scripts/tile.gd
index 6243b9c..87bc2a3 100644
--- a/scripts/tile.gd
+++ b/scripts/tile.gd
@@ -1,3 +1,3 @@
extends Node
-enum Tile {FLOOR, WALL}
+enum Tile {FLOOR, WALL, DOOR}