Skip to content
Permalink
master
Switch branches/tags

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?
Go to file
 
 
Cannot retrieve contributors at this time
#ifndef MAP_H
#define MAP_H
class Map
{
public:
/* This method is used to generate the curated map. It is an array in which all outer nodes are not traversable in order to avoid out of bounds
issues and the famous C++ issues with arrays accessing memory that it should not. */
int** create_map();
///until we will find a way to move it to the map.cpp file without errors, this will stay here
int map[7][7] = {
{-1, -1, -1, -1, -1},
{-1, 0, 1, 1, 1, 1, -1},
{-1, 1, 2, 2, 2, 1, -1},
{-1, 420, 2, 3, 2, 1, -1},
{-1, 69, 2, 1, 2, 1, -1},
{-1, 1, 1, 1, 1, 1, -1},
{-1, -1, -1, -1, -1}
};
Map();
};
#endif