예제 #1
0
 private void handleHit(RaycastHit hit)
 {
     if (checkForAtomHit(hit))
     {
         atomManager.handleAtomSelection(hit.collider.gameObject.getParentGameObject());
     }
     else if (checkForUnoccupiedTileHit(hit) && atomManager.hasSelected())
     {
         makeTurn(hit);
     }
 }