Holds each TileLayer which contains a list of tileable images. Places each TileLayer in its proper spot on the level and draws it when it's being rendered.



  • TileLayer[] tileLayers - array that holds objects of class TileLayer in the order of appearance
  • int iter - iterator for looping


  • TileManager()
    • Sets each attribute to it's default
  • Update(GameTime gameTime)
    • Updates each TileLayer
  • Draw(SpriteBatch spriteBatch)
    • Draws each TileLayer based off it's depth in the list
  • AddTileLayer(TileLayer newLayer)
    • Adds a new TileLayer to the array
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License