20 lines
451 B
GDScript
20 lines
451 B
GDScript
class_name Station
|
|
extends CelestialBody
|
|
|
|
# The orbital radius for this station.
|
|
var orbital_radius: float
|
|
|
|
func get_class_name() -> String:
|
|
return "Station"
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready() -> void:
|
|
# A Station has negligible mass for physics calculations.
|
|
mass = 0.001
|
|
radius = 15.0
|
|
|
|
# You can set a default texture here.
|
|
# texture = preload("res://assets/station_texture.png")
|
|
|
|
super._ready()
|