25 lines
504 B
GDScript
25 lines
504 B
GDScript
@tool
|
|
extends Scene
|
|
class_name CockpitScene
|
|
|
|
func get_scene_id() -> String:
|
|
return "COCKPIT"
|
|
|
|
func get_scene_path() -> String:
|
|
return "res://stages/3d_scenes/cockpit_scene/cockpit_scene.tscn"
|
|
|
|
func is_mouse_captured() -> bool:
|
|
return true
|
|
|
|
func is_needed_to_be_announced() -> bool:
|
|
return true
|
|
|
|
func get_scene_title() -> String:
|
|
return tr("INTERNODE")
|
|
|
|
func get_scene_icon() -> Texture:
|
|
return preload("res://common/icons/rocket.svg")
|
|
|
|
func can_abandon() -> bool:
|
|
return true
|