TankRectangle tRect = p.getRectangle();
g.drawImage(p.getImage(), tRect.xCoord(), tRect.yCoord(), null);
}
for (EnemyTank p : enemyList) {
TankRectangle tRect = p.getRectangle();
g.drawImage(p.getImage(), tRect.xCoord(), tRect.yCoord(), null);
}
for (Projectile p : projectileList) {
if (p instanceof PlayerProjectile) {
PlayerProjectile s = (PlayerProjectile) p;
ProjectileRectangle rect = s.getRectangle();