g.drawImage(rect.getImage(), rect.xCoord(), rect.yCoord(), null);
}
if (p instanceof EnemyProjectile) {
EnemyProjectile s = (EnemyProjectile) p;
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);