/* core/core.cc This file is part of the Osirion project and is distributed under the terms of the GNU General Public License version 2. */ #include "core/core.h" namespace core { GameInterface *game() { return GameInterface::instance(); } Application *application() { return Application::instance(); } bool connected() { return (GameInterface::instance() && GameInterface::instance()->connected); } float time() { return Application::instance()->current_time; } }