public void render(Graphics g){ if(!gameOver){ if(lastShot>0)lastShot--; g.drawImage(billeder[dir],x,y,null); for(int i=0;i