game/interior/interior_tile.gd

30 lines
475 B
GDScript3
Raw Permalink Normal View History

2023-01-31 23:33:14 +01:00
class_name InteriorTile extends Resource
##
2023-02-01 01:05:48 +01:00
## Identifier for the kind of interior tile.
##
enum Kind {
FLOOR,
WALL,
}
##
2023-02-01 01:05:48 +01:00
## Flag for determining if the tile is affected by orientations specified in an [InteriorMap].
##
@export
var fixed_orientation := false
##
2023-02-01 01:05:48 +01:00
## See [enum Kind].
##
2023-02-01 01:05:48 +01:00
## Interior tiles of different kinds will not conflict when placing them.
##
@export
var kind := Kind.FLOOR
##
2023-02-01 01:05:48 +01:00
## Used to visualize the interior tile.
##
@export
var mesh: Mesh = null