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/Corpse.cpp
Felix Ableitner aa6df65e97 Changed sprites to always render as rectangle.
Also created Rectangle/Circle subclasses for sprite to handle
collision detection and moved collision detection from World to
CollisionModel (static methods).
2013-05-08 00:42:26 +02:00

17 lines
288 B
C++

/*
* Corpse.cpp
*
* Created on: 13.09.2012
* Author: Felix
*/
#include "Corpse.h"
#include "../util/Yaml.h"
const std::string Corpse::CONFIG = "corpse.yaml";
Corpse::Corpse(const sf::Vector2f& position) :
Circle(position, CATEGORY_NONSOLID, MASK_NONE, Yaml(CONFIG)) {
}