public static AICharacter createGoomba(SpriteLoader spriteLoader,String name, int x, int y,int Adistance)
  {
    //Load the frames into the animation
    AnimatedSprite enemyAnim = new AnimatedSprite(200f,true, true);
    enemyAnim.addFrame(spriteLoader.load("Content/Textures/Characters/enemies/goomba/walk1.png"));
    enemyAnim.addFrame(spriteLoader.load("Content/Textures/Characters/enemies/goomba/walk2.png"));
    enemyAnim.addFrame(spriteLoader.load("Content/Textures/Characters/enemies/goomba/dead.png"));
    //Register animations
    enemyAnim.addAnimation("walk",new int[] {0,1,0});
    enemyAnim.addAnimation("dead",new int[] {2});
    //Create and return the new goomba with the animations we just made
    AICharacter goomba = new AICharacter(name, enemyAnim, x*64,y*64,1,Direction.Left);
    startPosition = x*SideScroller.TILE_SIZE;
    distance = Adistance;
    return goomba;
  }