Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ALL-Project-2-Text-Based-Game-Blackmail-/map.cpp
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
28 lines (23 sloc)
768 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This file was intended to house the logic for the map, but most of it is just initiating done over in map.h */ | |
#include "map.h" | |
<<<<<<< HEAD | |
///this is for the future when we would want to create a map instead of initialising it. Created by Mateusz Staszek. | |
int** Map::create_map()/// author:Mateusz | |
======= | |
///this is for the future when we would want to create a map instead of initialising it currently not in use | |
/* | |
int** Map::create_map() | |
>>>>>>> eea4137c94972ad5ffc5c09eab0ecae6ee4071ba | |
{ | |
int** tilemap = new int*[5]; | |
for (int i = 0;i<5;++i){ | |
tilemap[i] = new int[5]; | |
for(int j = 0;j<5;++j) | |
{ | |
tilemap[i][j] = 3; | |
} | |
} | |
return tilemap; | |
} | |
**/ | |
Map::Map(){} |