public Barb(int x, int y){
        sx = x;
        sy = y;
        
        Random r = new Random();
        spawndir = r.nextInt(4);
        spawnloc = r.nextInt(8);
        
        if(spawndir==0) by = 0;
        if(spawndir==1) bx = 8;
        if(spawndir==2) by = 8;
        if(spawndir==3) bx = 0;
        
        
        tempload = new ImageIcon(this.getClass().getResource("barb.png"));        
        image = tempload.getImage();        
    }