Files

11 lines
299 B
GDScript
Raw Permalink Normal View History

## Room.gd
# Resource representing a single room in the map.
# Stores the room's position and size in grid coordinates.
class_name Room
extends Resource
# Top-left position of the room in grid coordinates.
var room_pos: Vector2i
# Size of the room (width, height) in tiles.
var room_size: Vector2i