src/proto2/Physics.hh
changeset 107 505bfa531496
parent 105 91e3f3806b31
child 108 1b93045a5b0a
equal deleted inserted replaced
106:731f9dd775d4 107:505bfa531496
    89     virtual void applyForce (Force force, TimeMS dt);
    89     virtual void applyForce (Force force, TimeMS dt);
    90 
    90 
    91     /**
    91     /**
    92      * Called on network clients to sync state from server
    92      * Called on network clients to sync state from server
    93      */
    93      */
    94     void updatePhysics (Vector position, Vector velocity);
    94     void updatePhysics (Vector position, Vector velocity, bool inAir);
    95 
    95 
    96     /**
    96     /**
    97      * Handle ground movement
    97      * Handle ground movement
    98      *
    98      *
    99      * @return new position
    99      * @return new position