class_name Moon extends CelestialBody # The orbital radius for this moon. var orbital_radius: float func get_class_name() -> String: return "Moon" # Called when the node enters the scene tree for the first time. func _ready() -> void: # A Moon has a smaller mass than a planet. mass = 100.0 radius = 10.0 # You can set a default texture here. # texture = preload("res://assets/moon_texture.png") super._ready()