trouble converting 2dlogic into 1d logic… matrix as array accessing neighbor elemetns

后端 未结 0 609
悲哀的现实
悲哀的现实 2021-01-15 11:33

I\'m having trouble with this function

I have a cell class, which as an x and y property. I\'m storing the grid of cells inside a single array.

my strategy is

相关标签:
回答
  • 消灭零回复
提交回复
热议问题