8 lines
171 B
GDScript
8 lines
171 B
GDScript
class_name Platform extends StaticBody2D
|
|
var building
|
|
|
|
func init_at_horizontal_distortion(distortion : float):
|
|
scale.x *= distortion
|
|
|
|
func destroy():
|
|
building.destroy()
|