Skip to content
Permalink
911e26a55e
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
24 lines (16 sloc) 482 Bytes
#ifndef GAME
#define GAME
#include <iostream>
#include "map.h"
#include "player.h"
#include "enemy.h"
#include <stdlib.h>
class Game{
public:
Map map; //Responsible for all map data and drawing objects onto screen.
Player player; //Responsible for player.
std::vector<Enemy> enemies; //Stores all of the enemies on the map.
Game(Player player_obj); //Constructor.
void game_loop(std::string map_file); //Contains game loop.
};
#endif