Handling interactions
This commit is contained in:
8
game/interactions.odin
Normal file
8
game/interactions.odin
Normal 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)
|
||||
}
|
||||
Reference in New Issue
Block a user