saloparenator / tile80

tile based game engine
0 stars 0 forks source link

locked door with switch #21

Closed saloparenator closed 10 years ago

saloparenator commented 10 years ago

i dont make sense to build a behavior foreach locked door

then a door must know the id of the switch that trigger it

finally the tile must have a data structure it can change by key

brainstorm alternative to keyspace (World80 and Tile80 complexification

saloparenator commented 10 years ago

i finish with the idea that i cant merge the principle of behavior and tagging i dont need to search tile by behavior i need to find tile by tag

tag will return to string behavior will have a simple 1-N relation were the N is not searched

and i will build keyspace were you dont need to search tile by keyspace

great refactor