1
Fork 0
mirror of https://github.com/Steffo99/hella-farm.git synced 2024-11-25 01:24:23 +00:00

Add a couple newlines in SacrificeStone

This commit is contained in:
Steffo 2024-04-28 11:09:00 +02:00
parent d6425b8ce3
commit ce0df48674
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -1,11 +1,14 @@
extends Node2D extends Node2D
class_name SacrificeStone class_name SacrificeStone
signal sacrifice_changed(entity: Node2D, type: Enums.MonsterType) signal sacrifice_changed(entity: Node2D, type: Enums.MonsterType)
var current_monster: Node2D var current_monster: Node2D
var current_type: Enums.MonsterType = Enums.MonsterType.None var current_type: Enums.MonsterType = Enums.MonsterType.None
func _on_tracked(body: Node2D): func _on_tracked(body: Node2D):
if current_monster != null: if current_monster != null:
Log.w(self, "Captured two entities") Log.w(self, "Captured two entities")