public void render(GameContainer gc, StateBasedGame sbg, Graphics g) throws SlickException { if (this.isHit == false && !gc.isPaused()) { this.move(hip, this.ship.getRotation()); this.ship.draw(this.x, this.y); } else if (System.currentTimeMillis() <= this.explosionTime + 300) { MultiplayerGame.explosion.draw(this.x - 15, this.y - 10); } if (shotFired && !Menu.multi) { if (currentShotSP.shotVisible && !currentShotSP.hit) { currentShotSP.updateShot(); g.fillOval(currentShotSP.x, currentShotSP.y, 8, 8); } else if (currentShotSP.timeFired + 800 < System.currentTimeMillis()) { currentShotSP.hit = false; currentShotSP.shotVisible = false; } } else if (shotFired && Menu.multi) { if (currentShotMP.shotVisible && !currentShotMP.hit) { currentShotMP.updateShot(); g.fillOval(currentShotMP.x, currentShotMP.y, 8, 8); } else if (currentShotMP.timeFired + 800 < System.currentTimeMillis()) { currentShotMP.hit = false; currentShotMP.shotVisible = false; } } }