#ifndef WORLD_WORLD_HPP #define WORLD_WORLD_HPP #include #include class float2; class MarchingSquares { enum CellType { FREE, SOLID, DESTROYABLE }; public: MarchingSquares(); void ReadImage(const std::string& filename); std::vector< std::pair > RunMarchingSquares(); private: std::size_t width_; std::size_t height_; std::vector cells_; }; std::string dumpLinesToHtml(const std::vector< std::pair >& lines, int w, int h); #endif // WORLD_WORLD_HPP