EchoesOfFate
A game for our COMP315 Project
 
Loading...
Searching...
No Matches
Map.h File Reference
#include <SFML/Graphics.hpp>
#include <vector>
#include <string>
#include <fstream>
#include <sstream>
#include <cerrno>
#include <filesystem>
#include <iostream>
#include <algorithm>

Go to the source code of this file.

Classes

struct  Tile
 
class  Map
 

Functions

void get_file_contents (const char *filePath, std::vector< std::vector< int > > &tileTypeArray)
 
void load_textures (const char *dirPath, std::vector< Texture > &tileTextures)
 

Function Documentation

◆ get_file_contents()

void get_file_contents ( const char * filePath,
std::vector< std::vector< int > > & tileTypeArray )

◆ load_textures()

void load_textures ( const char * dirPath,
std::vector< Texture > & tileTextures )