X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43fc1b3f57852f2af098fa7411e83220015aaa6f..2bfad376fbc5a10a08ee8f18267234126d34e0bc:/Client/src/item_tank.cpp diff --git a/Client/src/item_tank.cpp b/Client/src/item_tank.cpp index 88b8eda..c3fcdaa 100644 --- a/Client/src/item_tank.cpp +++ b/Client/src/item_tank.cpp @@ -1,5 +1,6 @@ #include "item_tank.h" +#include ViewTank::ViewTank(Glib::ustring _name, int orientacion):ViewItem(_name) { @@ -18,3 +19,12 @@ ViewTank::~ViewTank() { } +std::string ViewTank::get_extra() +{ + std::stringstream ss; + std::string s; + ss << extra; + ss >> s; + return s; +} +