14 lines
295 B
C++
14 lines
295 B
C++
|
#include <iostream>
|
||
|
#include "SFML/Graphics.hpp"
|
||
|
|
||
|
#include "World.h"
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
std::cout << "Hello, World!" << std::endl;
|
||
|
World world(10,10);
|
||
|
world.setBlock(BlockType::AIR,1,1,8,8);
|
||
|
world.setBlock(BlockType::WALL,4,4,2,2);
|
||
|
std::cout << world << std::endl;
|
||
|
return 0;
|
||
|
}
|