@abstract extends Resource class_name Scene const DEFAULT_SCENE_ICON = preload("res://common/icons/globe.svg") var scene_id : String : get = get_scene_id var scene_path : String : get = get_scene_path var mouse_captured : bool : get = is_mouse_captured var need_terrain_generated :bool : get = is_terrain_generated var need_to_be_saved : bool : get = is_needed_to_be_saved var need_to_announce : bool : get = is_needed_to_be_announced var icon : Texture : get = get_scene_icon func get_scene_id() -> String: return "" @abstract func get_scene_path() -> String func is_mouse_captured() -> bool: return false func is_terrain_generated() -> bool: return false func is_needed_to_be_saved() -> bool: return true func is_needed_to_be_announced() -> bool: return false func get_scene_title() -> String: return tr(get_scene_id()) func get_scene_icon() -> Texture: return DEFAULT_SCENE_ICON func _on_generated(_generated_scene : Node): pass