| 145 | } |
| 146 | |
| 147 | void TileMap::adjustPosition(Camera *pcamera) { |
| 148 | position.x = -(int)((pcamera->size.x / 2) * w_depth); |
| 149 | position.y = -(int)((pcamera->size.y / 2) * w_depth); |
| 150 | } |
| 151 | |
| 152 | void TileMap::initialize(float x, float y, int w, int h, float tilewidth, |
| 153 | float tileheight, float depth, TileAtlas *ptexatlas, |
nothing calls this directly
no outgoing calls
no test coverage detected