stick-the-quick/util/static_class.gd

9 lines
156 B
GDScript

class_name StaticClass extends Object
func _init() -> void:
push_error(
"%s is an instance of a static class, which is not allowed" %
self
)
free()