15 lines
236 B
GDScript
15 lines
236 B
GDScript
@tool
|
|
extends StaticBody3D
|
|
class_name HexTile
|
|
|
|
const BASE_TILE_SIZE = 40
|
|
@export var id = ""
|
|
|
|
@export_group("Mandatory Tile")
|
|
@export var mandatory_tile :bool = false
|
|
@export var mandatory_count : int = 5
|
|
|
|
func _ready():
|
|
id = name
|
|
|