public void update(updateableObject gameObject) { vector2 newPos = doInputCheck(); if (gameObject.move(newPos)) { pos = newPos; } }
public void stop(updateableObject gameObject) { game.save.e_playerController_pos = pos; }
public void start(updateableObject gameObject) { pos = game.save.e_playerController_pos; game.camera.enqueueGameObject(gameObject); }