The_Dark_Side_of_Earth/utils/platform.gd

9 lines
171 B
GDScript3
Raw Normal View History

2025-09-18 18:10:44 +02:00
class_name Platform extends StaticBody2D
var building
func init_at_horizontal_distortion(distortion : float):
scale.x *= distortion
2025-09-18 18:10:44 +02:00
func destroy():
building.destroy()