Mnrikard / AutomatronGame

Apache License 2.0
0 stars 0 forks source link

How should views display? #4

Open Mnrikard opened 8 years ago

Mnrikard commented 8 years ago

view={tileArray:[[]],hwallArray:[[]],vwallArray:[[]]} ?

view=[[null,"nowall",null,"wall",null],["wall","nowall","wall"],[null,"nowall",self,"wall",null]]...?

something else?

I want this to be easily consumable by your application, and easy to understand as a person.

Mnrikard commented 8 years ago

really leaning towards redefining my arrays in gameengine.board to {tiles:[],walls:{horizontal:[],vertical:[]}} and just returning that subset.