Handling interactions

This commit is contained in:
2025-03-01 12:46:04 -06:00
parent f29fad7168
commit 22f50d04e7
5 changed files with 73 additions and 6 deletions

8
game/interactions.odin Normal file
View File

@@ -0,0 +1,8 @@
package game
import "core:fmt"
handle_tree_interaction :: proc(w:^World, p:^Player, pos:Vec2i) {
set_tile(w, nothing_tile, pos)
fmt.printfln("Collected Tree from %v", pos)
}