X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/9a771583b31dd48a20d9d9a467a93cf1c7a52d37..0e3cd5a760199d782d22e53ec20be11ba0e23e55:/Model/include/tank.h?ds=inline diff --git a/Model/include/tank.h b/Model/include/tank.h index 0495404..9220241 100644 --- a/Model/include/tank.h +++ b/Model/include/tank.h @@ -32,6 +32,8 @@ public: virtual void simulate(); void set_litros(float l) { litros = l; } + float get_litros() { return litros; } + void get_state_as_xml(std::stringstream &out); protected: float litros; ///< cantidad de líquido actual float actual_in_flow; ///< flujo máximo a la entrada