print on level state change
This commit is contained in:
parent
22a4af6e35
commit
8bce1a4c96
2 changed files with 2 additions and 0 deletions
|
|
@ -2,6 +2,7 @@ extends LevelState
|
||||||
|
|
||||||
|
|
||||||
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
||||||
|
print("entering level playing")
|
||||||
get_tree().paused = false
|
get_tree().paused = false
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@ var trans_tween: Tween
|
||||||
|
|
||||||
|
|
||||||
func _enter(_previous_state_path: String, _data: Dictionary = {"round": 0, "restart": false}) -> void:
|
func _enter(_previous_state_path: String, _data: Dictionary = {"round": 0, "restart": false}) -> void:
|
||||||
|
print("entering level starting")
|
||||||
get_tree().paused = true
|
get_tree().paused = true
|
||||||
assert((_data["round"] as int) in range(3), "round number is invalid")
|
assert((_data["round"] as int) in range(3), "round number is invalid")
|
||||||
assert(
|
assert(
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue