Ejemplo n.º 1
0
        public void update(updateableObject gameObject)
        {
            vector2 newPos = doInputCheck();

            if (gameObject.move(newPos))
            {
                pos = newPos;
            }
        }
Ejemplo n.º 2
0
 public void stop(updateableObject gameObject)
 {
     game.save.e_playerController_pos = pos;
 }
Ejemplo n.º 3
0
 public void start(updateableObject gameObject)
 {
     pos = game.save.e_playerController_pos;
     game.camera.enqueueGameObject(gameObject);
 }