src/PhysicsWorld.hh
changeset 409 1a03ff151abc
parent 408 e6cfc44266af
child 423 947ab54de4b7
equal deleted inserted replaced
408:e6cfc44266af 409:1a03ff151abc
    26 
    26 
    27 // XXX: needs some fixing up, move Terrain methods
    27 // XXX: needs some fixing up, move Terrain methods
    28 public:   
    28 public:   
    29     /** The world's terrain */
    29     /** The world's terrain */
    30     Terrain &terrain;
    30     Terrain &terrain;
       
    31     
       
    32     /** Size of simulation area */
       
    33     Vector dimensions;
    31 
    34 
    32 protected:
    35 protected:
    33     /** List of simulated objects*/
    36     /** List of simulated objects*/
    34     std::list<PhysicsObject*> objects;
    37     std::list<PhysicsObject*> objects;
    35     
    38     
    36     /** Size of simulation area */
       
    37     Vector dimensions;
       
    38 
       
    39     /** Gravity vector */
    39     /** Gravity vector */
    40     Vector gravity;
    40     Vector gravity;
    41     
    41     
    42     /** Physics simulation ticks */
    42     /** Physics simulation ticks */
    43     Timer tick_timer;
    43     Timer tick_timer;