Beginning interaction stuff
This commit is contained in:
@@ -5,7 +5,7 @@ import "core:fmt"
|
||||
|
||||
|
||||
CELL_SIZE :: 16
|
||||
WORLD_SIZE :: 50
|
||||
WORLD_SIZE :: 100
|
||||
|
||||
World :: struct {
|
||||
grid: [WORLD_SIZE][WORLD_SIZE]Tile
|
||||
@@ -24,7 +24,6 @@ TileType :: enum {
|
||||
FLOOR,
|
||||
}
|
||||
|
||||
|
||||
set_grid_tile :: proc(w:^World, pos:Vec2i, t:Tile) {
|
||||
w.grid[pos.x][pos.y] = t
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user