public int getRobotAmount() {
        int amount = 0;
        for (int i = 0; i < this.robotPositions.length; i++) {
            if (this.robotPositions[i]) {
                amount++;
            }
        }
        return amount;
    }