]> code.bitgloo.com Git - clyne/entityx.git/commitdiff
Remove unused variable. Update README.
authorAlec Thomas <alec@swapoff.org>
Sat, 2 Mar 2013 18:30:55 +0000 (13:30 -0500)
committerAlec Thomas <alec@swapoff.org>
Sat, 2 Mar 2013 18:31:16 +0000 (13:31 -0500)
README.md
entityx/Manager.h
entityx/System.h

index 51f8307e0c528a0f2b398556732423ec0b51479c..01da2c915de257a5fcf015930235d07e32b699c5 100644 (file)
--- a/README.md
+++ b/README.md
@@ -208,6 +208,8 @@ EntityX has the following build and runtime requirements:
 - [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++
index cca3ff141de566053b8d471186e1c9b5e7d5bc91..d5f8f1d9f8649c2f022eed2e8f7af84dc045dfbe 100644 (file)
@@ -1,10 +1,10 @@
 /**
  * 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>
  */
 
@@ -38,12 +38,14 @@ class Manager {
   /**
    * 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;
 
index c7da41db94000abee40e2c5ec84c34837377256f..f1803b1798ad08d24f54edfaa932251d224fd8b6 100644 (file)
@@ -1,10 +1,10 @@
 /**
  * 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>
  */
 
@@ -48,7 +48,6 @@ class BaseSystem : boost::noncopyable {
   static Family family_counter_;
 
  protected:
-  boost::shared_ptr<EntityManager> entities;
 };