Romoku/WindowsGame1 — Issue #4: Tile class
Author: Romoku
Created: 2012-02-25 23:32:06+00:00
State: open

We're gonna need a more generic class if we're gonna have multiple tile types.

Currently the tile draw if very inefficient as it creates rectangles for tiles on the spot.

With a tile class the map class will make an array of tiles which will allocate:

* Position
* Rectangle
* Type - {Collidable, non-Collidable, trigger, etc}
* Texture2D

This may also solve some of the problems with collision detection.