Exemplo n.º 1
0
 public void Move(float horizontal, float vertical)
 {
     if (horizontal != 0 || vertical != 0)
     {
         Debug.Log("moving");
         view.MovePlayer(horizontal * model.rotationSpeed * Time.deltaTime, vertical * model.speed * Time.deltaTime);
     }
 }
Exemplo n.º 2
0
 public void Move(float horizontal, float vertical)
 {
     //Debug.Log("controller");
     view.MovePlayer(horizontal * model.rotationSpeed * Time.deltaTime, vertical * model.speed * Time.deltaTime * model.boost);
 }