Game Engine 2D Platformer
|
#include <map>
#include <string>
#include <memory>
#include <iterator>
#include <vector>
#include <SDL2_mixer/SDL_mixer.h>
#include <SDL2_ttf/SDL_ttf.h>
#include "Engine.hpp"
#include "TileMap.hpp"
#include "Constants.hpp"
#include "GameEntity.hpp"
#include "EntityManager.hpp"
#include "AIComponent.hpp"
#include "AIGraphicsComponent.hpp"
#include "GraphicsComponent.hpp"
#include "InputComponent.hpp"
#include "LifeDisplayComponent.hpp"
#include "PhysicsComponent.hpp"
#include "ResourceManager.hpp"
#include "ScoreDisplayComponent.hpp"
#include "SoundComponent.hpp"
#include "Timer.h"
#include "AIPhysicsComponent.hpp"
Variables | |
const int | FPS = 60 |
const float | frameDelay = 1000 / FPS |
int | frameCount |
int | timerFPS |
int | lastFrame |
int | fps |
int | scrollingOffset |
std::vector< std::shared_ptr< GameEntity > > | playerVect |
std::vector< std::shared_ptr< GameEntity > > | obstacleVect |
std::vector< std::shared_ptr< GameEntity > > | enemyVect |
TileMap * | myTileMap |
std::shared_ptr< GameEntity > | mainCharacter |
std::shared_ptr< GameEntity > | enemyCharacter |
ResourceManager | resourceManager = ResourceManager::getInstance() |
EntityManager * | entityManager = new EntityManager() |
std::shared_ptr<GameEntity> enemyCharacter |
std::vector<std::shared_ptr<GameEntity> > enemyVect |
EntityManager* entityManager = new EntityManager() |
const int FPS = 60 |
int fps |
int frameCount |
const float frameDelay = 1000 / FPS |
int lastFrame |
std::shared_ptr<GameEntity> mainCharacter |
TileMap* myTileMap |
std::vector<std::shared_ptr<GameEntity> > obstacleVect |
std::vector<std::shared_ptr<GameEntity> > playerVect |
ResourceManager resourceManager = ResourceManager::getInstance() |
int scrollingOffset |
int timerFPS |