Add lever and jump pad components with activation logic

This commit is contained in:
2025-04-25 22:41:35 +02:00
parent 9b2ca61163
commit 8959fd4b9f
323 changed files with 12844 additions and 18 deletions

View File

@@ -0,0 +1,23 @@
class_name SS2D_Action
extends RefCounted
## Base class for all plugin actions.
##
## UndoRedo system will call [method do] and [method undo].
# @virtual
## Returns string to be used as a name in editor History tab.
func get_name() -> String:
return "UntitledAction"
# @virtual
## Do action here.
func do() -> void:
pass
# @virtual
## Undo action here.
func undo() -> void:
pass