Refactored BMGame->set__attack() and BMGame->set__buttonArray() to reduce cyclomatic complexity