Perhaps this should be a structure with a function callback for rendering, render behavior at the edges (whether or not it should render out of bounds tiles as empty or as a set tile), position, etc. . Then we could have a structure (maybe called LayerManager) that contains an array of layer objects and is responsible for rendering them in order, disabling given layers, etc.
Perhaps this should be a structure with a function callback for rendering, render behavior at the edges (whether or not it should render out of bounds tiles as empty or as a set tile), position, etc. . Then we could have a structure (maybe called LayerManager) that contains an array of layer objects and is responsible for rendering them in order, disabling given layers, etc.