Project_Maat/src/Entity.cpp
trotFunky a775d846d7 Started object construction and parsing
Simplified some structures
Missing : Entity construction
2019-06-07 02:59:27 +02:00

41 lines
607 B
C++

//
// 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);
}