diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-11-28 19:00:05 +0200 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-11-28 19:05:06 +0200 |
| commit | e07895be01b6bc7f813bbc392cc7852ffaf5e07b (patch) | |
| tree | 0d925585d978e99e70549aa5e0eae49cac9b7947 /ps_forced.gd | |
| parent | 6173a0c4e1b41628532a37f0638339b0724b445e (diff) | |
Add debug info display
Diffstat (limited to 'ps_forced.gd')
| -rw-r--r-- | ps_forced.gd | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ps_forced.gd b/ps_forced.gd index 4c4c3dc..9a8b41a 100644 --- a/ps_forced.gd +++ b/ps_forced.gd @@ -4,6 +4,9 @@ extends PlayerState var input_x: float var jump_coef = 1.3 +func _to_string() -> String: + return "PlayerStateForced" + func initialize(p: Player, dir: String): if dir == "LEFT": input_x = -1.0 |
