Example conversation.

This commit is contained in:
2025-01-08 21:28:44 -06:00
parent bb9140169f
commit fae30b469e
7 changed files with 65 additions and 16 deletions

View File

@@ -1,9 +1,13 @@
class_name PauseSystem extends Node
enum PauseType {
# Completely unpaused
NOT_PAUSED,
# Fully paused, with no exceptions to anything
FULLY_PAUSED,
# Specific entities are paused
ENTITY_PAUSED,
# All entities are paused unless specified
CUTSCENE_PAUSED
};
@@ -30,4 +34,4 @@ func isPlayerPaused() -> bool:
return playerPaused;
func playerPauseToggle() -> void:
playerPaused = !playerPaused;
playerPaused = !playerPaused;