}
if (currentLevel == 2) {
currentPane = new TankView(this, new Level2());
}
if (currentLevel == 3) {
currentPane = new TankView(this, new Level3());
}
if (currentLevel == 4) {
currentPane = new TankView(this, new Level4());
}
if (currentLevel == 5) {