Exemplo n.º 1
0
 public void ResetValues()
 {
     collectedKeys  = 0;
     totalKeys      = 0;
     endCilinder    = null;
     player         = null;
     _shipAce       = Instantiate(shipAce);
     portalIsOpened = false;
 }
Exemplo n.º 2
0
        public bool IsCollided(Player player, FinishZone finishZone)
        {
            var intersectionDeter = new IntersectionDeterminant();

            return(intersectionDeter.IsIntersected(player.Form, finishZone.Form));
        }