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

34 lines
544 B
C
Raw Normal View History

2012-10-14 16:14:06 +00:00
/*
* Enemy.h
*
* Created on: 10.09.2012
* Author: Felix
*/
#ifndef DG_ENEMY_H_
#define DG_ENEMY_H
2012-12-22 14:10:26 +00:00
#include <SFML/System.hpp>
2012-10-14 16:14:06 +00:00
#include "../abstract/Character.h"
2012-12-22 13:56:17 +00:00
#include "../World.h"
2012-10-14 16:14:06 +00:00
#include "../util/Yaml.h"
class Character;
2012-12-22 13:56:17 +00:00
class World;
2012-10-14 16:14:06 +00:00
class Instances;
class Yaml;
class Enemy : public Character {
// Public functions.
public:
2012-12-22 13:56:17 +00:00
Enemy(World& collection, Pathfinder& pathfinder,
2012-12-22 14:10:26 +00:00
const sf::Vector2f& position, const Yaml& config);
2012-10-14 16:14:06 +00:00
// Private functions.
private:
void onThink(float elapsedTime);
};
#endif /* DG_ENEMY_H_ */