/* base/cargo.cc This file is part of the Osirion project and is distributed under the terms and conditions of the GNU General Public License version 2 */ #include "base/game.h" #include "base/cargo.h" #include "auxiliary/functions.h" #include "sys/sys.h" namespace game { /* ---- class Cargo -------------------------------------------- */ core::InfoType *Cargo::cargo_infotype = 0; Cargo::Cargo() : core::Info(cargo_infotype) { } Cargo::~Cargo() { } Cargo *Cargo::find(const std::string & label) { if (!label.size()) { return 0; } return (Cargo *) core::Info::find(cargo_infotype, label); } } // namespace game