#include <boost/unordered_set.hpp>
#include "entityx/Entity.h"
-namespace entity {
+namespace entityx {
/**
* Allow entities to be tagged with strings.
using namespace std;
using namespace boost;
-using namespace entity;
+using namespace entityx;
struct Position : public Component<Position> {};
#include <algorithm>
#include "entityx/Entity.h"
-namespace entity {
+namespace entityx {
BaseComponent::Family BaseComponent::family_counter_ = 0;
#include <glog/logging.h>
#include "entityx/Event.h"
-namespace entity {
+namespace entityx {
/**
* Entity handle.
using namespace std;
using namespace boost;
-using namespace entity;
+using namespace entityx;
template <typename T>
#include "entityx/Event.h"
-namespace entity {
+namespace entityx {
BaseEvent::Family BaseEvent::family_counter_ = 0;
#include <boost/unordered_map.hpp>
-namespace entity {
+namespace entityx {
/// Used internally by the EventManager.
#include <gtest/gtest.h>
#include "entityx/Event.h"
-using namespace entity;
+using namespace entityx;
using namespace boost;
struct Explosion : public Event<Explosion> {
#include "Manager.h"
-namespace entity {
+namespace entityx {
void Manager::start() {
configure();
#include "entityx/Event.h"
#include "entityx/System.h"
-namespace entity {
+namespace entityx {
class Manager {
public:
#include "entityx/System.h"
-namespace entity {
+namespace entityx {
BaseSystem::Family BaseSystem::family_counter_;
#include "entityx/Event.h"
-namespace entity {
+namespace entityx {
/**
* Base System class. Generally should not be directly used, instead see System<Derived>.
using namespace std;
using namespace boost;
-using namespace entity;
+using namespace entityx;
struct Position : Component<Position> {
Position(float x = 0.0f, float y = 0.0f) : x(x), y(y) {}
};
-class TestManager : public entity::Manager {
+class TestManager : public entityx::Manager {
public:
std::vector<Entity> entities;