First commit, world map creation
This commit is contained in:
commit
52a261de58
7 changed files with 176 additions and 0 deletions
14
main.cpp
Normal file
14
main.cpp
Normal file
|
@ -0,0 +1,14 @@
|
|||
#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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue