Package battleTank

Examples of battleTank.TankView


      }
      repaint();
      break;
    case TANKVIEW:
      if (currentLevel == 1) {
        currentPane = new TankView(this, new Level1());
      }
      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) {
        currentPane = new TankView(this, new Level5());
      }

      body.add(currentPane, "TANKVIEW");
      CardLayout c = (CardLayout) body.getLayout();
      c.show(body, "TANKVIEW");
View Full Code Here

TOP

Related Classes of battleTank.TankView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.