rename starting room state to entering

This commit is contained in:
yuki 2025-11-23 08:23:19 -03:00
parent 5a9d8d221d
commit 041b26c2bd
3 changed files with 5 additions and 1 deletions

View file

@ -1,7 +1,7 @@
class_name RoomState extends State
const STARTING = "Starting"
const ENTERING = "Entering"
const PLAYING = "Playing"
const EXITING = "Exiting"
@ -35,6 +35,10 @@ func _state_physics_update(_delta: float) -> void:
func match_state(exclude: Array[StringName] = []) -> StringName:
if Input.is_action_just_pressed("pause"):
if PAUSED in exclude: return ""
return PAUSED
return ""