public bool check_bust(int dmg, int shooter, int stun, int elem) // will have to change when obstructions added // mirrored space = ((space + 5) - 2*(space%6)) { int dist = playerB.field_space - playerA.field_space; if ((0 < dist) && (dist <= 5)) { if (shooter == playerA.playerNumber) // player A is shooter { playerB.hit(dmg, stun, elem); return(true); } else // Player B is shooter { playerA.hit(dmg, stun, elem); } } return(false); }