Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void dibujarEnemigos(Graphics g) {
- for(Objeto aux: Juego.MovsEnemigo){ //aca tirra un error java.util.concurrentModificationException
- switch (aux.getIdenti()){
- case AVION:
- int dir=Juego.getLevels().getDire();
- if(dir==1)
- g.drawImage(avionder,40,40,null);
- break;
- }
- g.setColor(Color.BLUE);
- g.fillOval(aux.getPos().getPosX(), aux.getPos().getPosY(), 10, 10);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement