Changed the code formatting a bit
This commit is contained in:
+1
-4
@@ -20,7 +20,6 @@ void PrintFrames::PrintHeader(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << " f" << i << " ";
|
||||
|
||||
frame += 1;
|
||||
}
|
||||
|
||||
@@ -33,7 +32,6 @@ void PrintFrames::PrintHeader(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << " f" << i << " ";
|
||||
|
||||
frame += 2;
|
||||
}
|
||||
|
||||
@@ -82,7 +80,6 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << "X ";
|
||||
|
||||
frame += 1;
|
||||
}
|
||||
|
||||
@@ -95,7 +92,6 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
}
|
||||
|
||||
cout << rolls[frame] << ", /";
|
||||
|
||||
frame += 2;
|
||||
}
|
||||
|
||||
@@ -107,6 +103,7 @@ void PrintFrames::PrintValue(vector<int> rolls){
|
||||
else if (rolls[frame + 1] == 0) {
|
||||
cout << rolls[frame] << ", -";
|
||||
}
|
||||
|
||||
cout << "" << rolls[frame] << ", " << rolls[frame + 1];
|
||||
frame += 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user