Package battleTank

Examples of battleTank.Explosion


      String s = (String)arg1;
      System.out.println(s);
    }
    if (arg1 instanceof Point) {
      Point p = (Point)arg1;
      Explosion et = new Explosion(p, model.getMap());
      model.addExplosion(et);
     
    }
  }
View Full Code Here


        ProjectileRectangle rect = s.getRectangle();
        g.drawImage(rect.getImage(), rect.xCoord(), rect.yCoord(), null);
      }
    }
    for(int i = 0; i < model.getMap().getExplosions().size(); i++) {
      Explosion e = model.getMap().getExplosions().get(i);
      g.drawImage(e.getImage(), e.getLocation().col, e.getLocation().row, null);
    }
    if (won == true) {
      Font font = new Font("Times New Roman", Font.BOLD, 28);
      String jb = "Win!";
      AttributedString att = new AttributedString(jb);
View Full Code Here

TOP

Related Classes of battleTank.Explosion

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.