public AnimShip() {

    //float width, float height, float size
    SpriteSheet sp_ship = null;

    try {
      sp_ship = new SpriteSheet("resources/ship.gif", 170, 343);
    } catch (SlickException e) {
      e.printStackTrace();
    }

    anim_ship = new Animation[Moves.values().length];
    for (int i = 0; i < anim_ship.length; i++) {
      anim_ship[i] = new Animation();
      anim_ship[i].setLooping(false);
    }

    int frame_speed = 50;
    for (int i = 5; i < 8; i++) {
      anim_ship[Moves.CENTER_TO_UP.ordinal()].addFrame(sp_ship.getSprite(i, 0),
          frame_speed);
    }
    for (int i = 1; i < 8; i++) {
      anim_ship[Moves.DOWN_TO_UP.ordinal()].addFrame(sp_ship.getSprite(i, 0),
          frame_speed);
    }
    anim_ship[Moves.CENTER.ordinal()].addFrame(sp_ship.getSprite(4, 0),
        frame_speed);
    for (int i = 3; i > 0; i--) {
      anim_ship[Moves.CENTER_TO_DOWN.ordinal()].addFrame(
          sp_ship.getSprite(i, 0), frame_speed);
    }
    for (int i = 7; i > 0; i--) {
      anim_ship[Moves.UP_TO_DOWN.ordinal()].addFrame(sp_ship.getSprite(i, 0),
          frame_speed);
    }
    for (int i = 7; i > 3; i--) {
      anim_ship[Moves.UP_TO_CENTER.ordinal()].addFrame(sp_ship.getSprite(i, 0),
          frame_speed);
    }
    for (int i = 1; i < 5; i++) {
      anim_ship[Moves.DOWN_TO_CENTER.ordinal()].addFrame(
          sp_ship.getSprite(i, 0), frame_speed);
    }
  }