mirror of
https://github.com/Steffo99/hella-farm.git
synced 2024-11-28 19:14:23 +00:00
Add a couple newlines in SacrificeStone
This commit is contained in:
parent
d6425b8ce3
commit
ce0df48674
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue