Commit cccb4e58 authored by Felix Huther's avatar Felix Huther
Browse files

some coding

parent 7daefb54
......@@ -74,7 +74,17 @@ void Level::setStructure() {
Tile* wallpointer = new Wall(stwall,nullptr,pos);
mLevel.at(i).push_back(wallpointer);
} //fills field with floor
}
else if(j == 6)
{
Tile* wallpointer = new Wall(stwall,nullptr,pos);
mLevel.at(i).push_back(wallpointer);
}
// creates the portals
else if((i == 4 && j == 4) || (i == 8 && j == 8))
{
Tile* portalOne;
......@@ -95,7 +105,7 @@ void Level::setStructure() {
}
}
else
else //fills field with floor
{
Tile* floorPointer= new Floor(stfloor, nullptr,pos);
mLevel.at(i).push_back(floorPointer);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment