#include "common.hpp" namespace game { static human_t *human; void state_t::start(void) { human = new human_t; human->bounds.left = -0.2f; human->bounds.top = -0.2f; human->bounds.width = 3.0f; human->bounds.height = 3.0f; human->link(&world); } void state_t::tick(void) { human->unlink(); human->bounds.left += 0.05f; human->bounds.top += 0.05f; human->link(&world); } } //namespace game