SummerDay/addons/summer_day/data/blueprint/blueprint.gd

23 lines
455 B
GDScript3
Raw Normal View History

2021-12-12 17:04:17 +01:00
# This class can be abstracted and is meant to handle the drawing workflow
# of each individual model.
tool
extends Resource
class_name SummerDayBlueprint
export(Mesh) var model = null
2021-12-19 22:26:09 +01:00
var active = true # Not handled right now.
func _create_cell(table: SummerDayTable) -> SummerDayCell: # Virtual.
return null
2021-12-19 22:26:09 +01:00
func _input(event): # Virtual.
pass
2022-01-01 13:18:55 +01:00
func get_allocation_size() -> int:
push_error("get_allocation_size wasn't overwritten")
2022-01-01 13:18:55 +01:00
return 0