12 lines
283 B
GDScript
12 lines
283 B
GDScript
extends RoomState
|
|
|
|
|
|
func _enter(_previous_state_path: String, _data: Dictionary = {}) -> void:
|
|
print("entering room gameplay")
|
|
|
|
|
|
func _state_physics_update(delta: float) -> void:
|
|
room.camera.follow_player(delta)
|
|
|
|
if Input.is_action_just_pressed("pause"):
|
|
finished.emit(PAUSED)
|