- [Glog](http://code.google.com/p/google-glog/) (tested with `0.3.2`).
- [GTest](http://code.google.com/p/googletest/) (needed for testing only)
+**Note:** GTest is no longer installable directly through Homebrew. You can use [this formula](https://raw.github.com/mxcl/homebrew/2bf506e3d90254f81a669a0216f33b2f09589028/Library/Formula/gtest.rb) to install it manually.
+
Once these dependencies are installed you should be able to build and install EntityX as follows. BUILD_TESTING is false by default.
```c++
/**
* Copyright (C) 2012 Alec Thomas <alec@swapoff.org>
* All rights reserved.
- *
+ *
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
- *
+ *
* Author: Alec Thomas <alec@swapoff.org>
*/
/**
* Initialize the entities and events in the world.
*
- * Typically used when
+ * Typically used to create initial entities, setup event handlers, and so on.
*/
virtual void initialize() = 0;
/**
* Update the world.
+ *
+ * Typically this is where you would call update() on all Systems in the world.
*/
virtual void update(double dt) = 0;
/**
* Copyright (C) 2012 Alec Thomas <alec@swapoff.org>
* All rights reserved.
- *
+ *
* This software is licensed as described in the file COPYING, which
* you should have received as part of this distribution.
- *
+ *
* Author: Alec Thomas <alec@swapoff.org>
*/
static Family family_counter_;
protected:
- boost::shared_ptr<EntityManager> entities;
};