(wip) Player food

This commit is contained in:
Martin committed 2026-02-07 15:31:43 +01:00
1 parent 2352a3aa07
commit 232184afba
12 files changed
+104 -26

No files matched your search

@@ -0,0 +1,17 @@
@abstract
class_name AbstractFood
extends Area2D
@export var val: int = 1
@export var food_name: String = "Food"
signal consumed
func _ready() -> void:
pass
func _on_body_entered(body: Node2D) -> void:
pass
func eat(consumer: Node2D) -> void:
pass
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.