equal
deleted
inserted
replaced
270 } |
270 } |
271 |
271 |
272 this->generatePixelBuffer(); |
272 this->generatePixelBuffer(); |
273 } |
273 } |
274 |
274 |
275 void Terrain::drawTerrain(CL_GraphicContext *gc) { |
275 void Terrain::draw(CL_GraphicContext *gc) { |
276 CL_Surface surf(this->pixbuf); |
276 CL_Surface surf(this->pixbuf); |
277 surf.draw(0,0,gc); |
277 surf.draw(0,0,gc); |
278 } |
278 } |
279 |
279 |
280 std::vector<std::vector<TerrainType> > Terrain::getTerrain() const { |
280 std::vector<std::vector<TerrainType> > Terrain::getTerrain() const { |