@Override
	public void action() {
		for(PlayerInterface PlayerInterface :GameModel.getPlayers()){
			Player player=PlayerInterface.getPlayer();
			
			if(hypetunusan(x,y,player.getPosX(),player.getPosY())<400){
				double vinkeln=Math.atan2((x-player.getPosX()), (y-player.getPosY()+1));
				
				int diffX=(int) (Math.sin(vinkeln)*spead);
				int diffY=(int) (Math.cos(vinkeln)*spead);
				if(GameModel.GetWorldMap().checkPositionIsOk(x+diffX, y, x+diffX+32,y+32)){
					x+=diffX;
				}else if(diffY>0){
					diffY+=diffX;
				}else{
					diffY-=diffX;
				}
				if(GameModel.GetWorldMap().checkPositionIsOk(x, y+diffY, x+32,y+diffY+32)){
					y+=diffY;
				}else if(GameModel.GetWorldMap().checkPositionIsOk(x+diffY, y, x+32+diffY,y+32)){
					x+=diffY;
				}else if(GameModel.GetWorldMap().checkPositionIsOk(x-diffY, y, x-diffY+32,y+32)){
					x-=diffY;
				}
			}
		}
	}