Пример #1
0
 public void getPointsPlayer(int points)
 {
     if (getDistance() > 5f)
     {
         GameManager.instanciaCompartidaGameManager.GetPlayer().setPoints(points + enemy.getPoints() + 1);
     }
     else
     {
         GameManager.instanciaCompartidaGameManager.GetPlayer().setPoints(points + enemy.getPoints() - 1);
     }
 }