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,13 @@
extends "res://addons/rmsmartshape/actions/action_delete_points.gd"
## ActionDeletePoint
func _init(shape: SS2D_Shape, key: int, commit_update: bool = true) -> void:
var keys: PackedInt32Array = [key]
super(shape, keys, commit_update)
func get_name() -> String:
var pos := _shape.get_point_position(_keys[0])
return "Delete Point at (%d, %d)" % [pos.x, pos.y]