1
0
Fork 0
auts/isotest/cell.v

30 lines
314 B
V

module main
struct Cell {
mut:
// XXX pos
x int
y int
z int
tile_id int
open bool
wall &Wall // XXX use wall_id?
map_obj &MapObj
}
fn new_cell() Cell {
c := Cell{
open: true,
wall: &Wall(0),
map_obj: &MapObj(0),
}
return c
}
fn (c &Cell) draw() {
println("panic: not implemented")
pp(1)
}