Skip to content

Commit 8360182

Browse files
committed
Remove unused variables
1 parent 57b7c79 commit 8360182

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

include/Board.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ class Board {
184184
bool defeated;
185185
bool finished;
186186

187-
int rows, cols;
188187
int tank_x, tank_y, origin_x, origin_y;
189188
int level;
190189

src/Board.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
#include "utils.h"
66

7-
Board::Board(Draw * draw, Textures * textures, Sound * sound) : help_blocks(false), rows(ROWS), cols(COLUMNS), tank_x(0), tank_y(0), level(0), draw(draw), textures(textures), sound(sound) {
7+
Board::Board(Draw * draw, Textures * textures, Sound * sound) : help_blocks(false), tank_x(0), tank_y(0), level(0), draw(draw), textures(textures), sound(sound) {
88
CreateArray();
99
LoadLevel();
1010
}

0 commit comments

Comments
 (0)