This repository has been archived on 2019-12-07. You can view files and clone it, but cannot push or open issues or pull requests.
dungeon-gunner/source/sprites/Enemy.h
2012-12-22 15:10:26 +01:00

33 lines
544 B
C++

/*
* Enemy.h
*
* Created on: 10.09.2012
* Author: Felix
*/
#ifndef DG_ENEMY_H_
#define DG_ENEMY_H
#include <SFML/System.hpp>
#include "../abstract/Character.h"
#include "../World.h"
#include "../util/Yaml.h"
class Character;
class World;
class Instances;
class Yaml;
class Enemy : public Character {
// Public functions.
public:
Enemy(World& collection, Pathfinder& pathfinder,
const sf::Vector2f& position, const Yaml& config);
// Private functions.
private:
void onThink(float elapsedTime);
};
#endif /* DG_ENEMY_H_ */