public static AICharacter createStar(SpriteLoader spriteLoader, int x, int y,String name)
  {
    //Load the frames into the animation
    AnimatedSprite bonusAnim = new AnimatedSprite(200f,true, true);
    bonusAnim.addFrame(spriteLoader.load("Content/Textures/Tiles/items/star1.png"));
    bonusAnim.addFrame(spriteLoader.load("Content/Textures/Tiles/items/star2.png"));
    bonusAnim.addFrame(spriteLoader.load("Content/Textures/Tiles/items/star3.png"));
    bonusAnim.addFrame(spriteLoader.load("Content/Textures/Tiles/items/star4.png"));
    //Register animation
    bonusAnim.addAnimation(name,new int[] {0,1,2,3,0});
    //Create and return the new flower_monster with the animations we just made
    AICharacter star = new AICharacter("star", bonusAnim, x , y,1,Direction.Right);   
    return star;
  }