odin-raylib-game/game/interactions.odin
2025-03-01 12:46:04 -06:00

9 lines
184 B
Odin

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)
}