Advertisement
Guest User

anita

a guest
Nov 22nd, 2014
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. private void dibujarEnemigos(Graphics g) {
  2. for(Objeto aux: Juego.MovsEnemigo){ //aca tirra un error java.util.concurrentModificationException
  3. switch (aux.getIdenti()){
  4. case AVION:
  5. int dir=Juego.getLevels().getDire();
  6. if(dir==1)
  7. g.drawImage(avionder,40,40,null);
  8. break;
  9. }
  10. g.setColor(Color.BLUE);
  11. g.fillOval(aux.getPos().getPosX(), aux.getPos().getPosY(), 10, 10);
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement