Project_Maat/src/Entity.cpp

42 lines
607 B
C++
Raw Normal View History

2019-06-06 17:07:24 +02:00
//
// Created by trotfunky on 06/06/19.
//
#include "Entity.h"
const std::map<std::string,EntityType> Entity::entityTypeLookup = {
{"Citizen",EntityType::Citizen},
{"Player",EntityType::Player},
{"House",EntityType::House},
{"Car",EntityType::Car}};
Entity::Entity(int x, int y, EntityType type, int width, int height)
{
}
Entity::Entity(const pugi::xml_node& entityNode)
{
}
void Entity::render(sf::RenderWindow& renderWindow) const
{
}
void Entity::move()
{
}
void Entity::update()
{
}
const sf::RectangleShape& Entity::getShape() const
{
return(shape);
}