Files
millimeters-of-aluminum/scenes/celestial_bodies/star.gd

15 lines
368 B
GDScript

class_name Star
extends OrbitalBody2D
func get_class_name() -> String:
return "Star"
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
# A Star has no primary and a very large mass.
# You can set a default texture here, or assign it in the Inspector.
# texture = preload("res://assets/star_texture.png")
super._ready()