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.
2012-10-14 16:14:06 +00:00
|
|
|
/*
|
|
|
|
* Enemy.cpp
|
|
|
|
*
|
|
|
|
* Created on: 10.09.2012
|
|
|
|
* Author: Felix
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "Enemy.h"
|
|
|
|
|
2012-12-20 09:31:32 +00:00
|
|
|
#include "Corpse.h"
|
2012-10-14 16:14:06 +00:00
|
|
|
|
2012-12-22 00:44:36 +00:00
|
|
|
Enemy::Enemy(World& world, Collection& collection, Pathfinder& pathfinder,
|
|
|
|
const Vector2f& position, const Yaml& config) :
|
2012-12-22 00:45:52 +00:00
|
|
|
Character(world, collection, pathfinder,
|
2012-12-22 00:44:36 +00:00
|
|
|
PhysicalData(position, world, CATEGORY_ACTOR, MASK_ALL,
|
|
|
|
true, false, true),
|
|
|
|
config),
|
|
|
|
mWorld(world),
|
|
|
|
mCollection(collection) {
|
2012-10-14 16:14:06 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
Enemy::onThink(float elapsedTime) {
|
|
|
|
}
|