Remove all debugger warnings
This commit is contained in:
parent
b433db6095
commit
b9281930bd
3 changed files with 1 additions and 11 deletions
|
@ -11,11 +11,6 @@ func _ready():
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _on_mob_timer_timeout():
|
func _on_mob_timer_timeout():
|
||||||
var mob = mob_scene.instantiate()
|
var mob = mob_scene.instantiate()
|
||||||
var mob_spawn_location = $MobPath/MobSpawnLocation
|
var mob_spawn_location = $MobPath/MobSpawnLocation
|
||||||
|
|
|
@ -7,10 +7,5 @@ func _ready():
|
||||||
$AnimatedSprite2D.play(mob_types[randi() % mob_types.size()])
|
$AnimatedSprite2D.play(mob_types[randi() % mob_types.size()])
|
||||||
|
|
||||||
|
|
||||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
||||||
func _process(delta):
|
|
||||||
pass
|
|
||||||
|
|
||||||
|
|
||||||
func _on_visible_on_screen_notifier_2d_screen_exited():
|
func _on_visible_on_screen_notifier_2d_screen_exited():
|
||||||
queue_free()
|
queue_free()
|
||||||
|
|
|
@ -46,7 +46,7 @@ func _process(delta):
|
||||||
$AnimatedSprite2D.flip_v = velocity.y > 0
|
$AnimatedSprite2D.flip_v = velocity.y > 0
|
||||||
|
|
||||||
|
|
||||||
func _on_body_entered(body):
|
func _on_body_entered(_body):
|
||||||
hide()
|
hide()
|
||||||
hit.emit()
|
hit.emit()
|
||||||
$CollisionShape2D.set_deferred('disabled', true)
|
$CollisionShape2D.set_deferred('disabled', true)
|
||||||
|
|
Loading…
Reference in a new issue