content: /*
   * Copyright 2008-present, David Karnok & Contributors
   * The file is part of the Open Imperium Galactica project.
   *
   * The code should be distributed under the LGPL license.
   * See http://www.gnu.org/licenses/lgpl.html for details.
   */
  
  package hu.openig.gfx;
  
  import hu.openig.core.Anim;
  import hu.openig.core.Btn2;
  import hu.openig.core.Btn3;
  import hu.openig.core.Img;
  import hu.openig.model.ResourceLocator;
  
  import java.awt.image.BufferedImage;
  
  /**
   * The spacewar graphics objects.
   * @author akarnokd, 2009.11.09.
   */
  public class SpacewarGFX {
      /** The space background. */
      @Img(name = "spacewar/battle_background")
      public BufferedImage background;
      /** The camikaze status button. */
      @Btn3(name = "spacewar/button_kamikaze")
      public BufferedImage[] kamikaze;
      /** The animations for the movie button. */
      @Img(name = "spacewar/button_label_movie")
      public BufferedImage movieStrip;
      /** The movies static button. */
      @Anim(name = "spacewar/button_label_stat_5", width = 20)
      public BufferedImage[] movies;
      /** Ship animations. */
      @Anim(name = "spacewar/button_label_stat_1", width = 20)
      public BufferedImage[] ships;
      /** Statistics animations. */
      @Anim(name = "spacewar/button_label_stat_2", width = 22)
      public BufferedImage[] statistics;
      /** Fires animation. */
      @Anim(name = "spacewar/button_label_stat_3", width = 20)
      public BufferedImage[] shipInfo;
      /** Computers animation. */
      @Anim(name = "spacewar/button_label_stat_4", width = 21)
      public BufferedImage[] computers;
      /** Layout OK. */
      @Img(name = "spacewar/button_layout_ok")
      public BufferedImage layoutOk;
      /** Layout OK hovered. */
      @Img(name = "spacewar/button_layout_ok_hover")
      public BufferedImage layoutOkHover;
      /** Layout OK pressed. */
      @Img(name = "spacewar/button_layout_ok_pressed")
      public BufferedImage layoutOkPressed;
      /** Pause button. */
      @Btn2(name = "spacewar/button_pause")
      public BufferedImage[] pause;
      /** The stop button. */
      @Btn3(name = "spacewar/button_stop")
      public BufferedImage[] stop;
      /** Tall stop button. */
      @Btn2(name = "spacewar/button_stop_tall")
      public BufferedImage[] stopTall;
      /** Zoom button. */
      @Btn2(name = "spacewar/button_zoom")
      public BufferedImage[] zoom;
  //    /** The planet. */
  //    @Img(name = "spacewar/planet")
  //    public BufferedImage planet;
      /** The planet flipped. */
      @Img(name = "spacewar/planet_flipped")
      public BufferedImage planetFlipped;
      /** The landing zone animation. */
      @Anim(name = "spacewar/landing_zone", width = 76)
      public BufferedImage[] landingZone;
      /** Frame left filler. */
      @Img(name = "spacewar/frame_left_fill")
      public BufferedImage frameLeftFill;
      /** Frame right filler. */
      @Img(name = "spacewar/frame_right_fill")
      public BufferedImage frameRightFill;
      /** Frame right. */
      @Img(name = "spacewar/frame_right")
      public BufferedImage frameRight;
      /** Frame top filler. */
      @Img(name = "spacewar/frame_top_fill")
      public BufferedImage frameTopFill;
      /** Frame top left. */
      @Img(name = "spacewar/frame_top_left")
      public BufferedImage frameTopLeft;
      /** Frame top right. */
      @Img(name = "spacewar/frame_top_right")
      public BufferedImage frameTopRight;
      /** Panel with the IMP System. */
      @Img(name = "spacewar/panel_background_ig")
      public BufferedImage panelIg;
      /** Panel width star background. */
      @Img(name = "spacewar/panel_background_space")
      public BufferedImage panelStar;
      /** The commands panel. */
      @Img(name = "spacewar/panel_commands_left")
      public BufferedImage commands;
      /** Statistics panel filler. */
      @Img(name = "spacewar/panel_stat_fill")
      public BufferedImage panelStatFill;
      /** Panel statistics left. */
      @Img(name = "spacewar/panel_stat_left")
      public BufferedImage panelStatLeft;
      /** Panel statistics right. */
      @Img(name = "spacewar/panel_stat_right")
      public BufferedImage panelStatRight;
      /** Attack button. */
      @Btn3(name = "spacewar/button_attack")
      public BufferedImage[] attack;
      /** Command button. */
      @Btn3(name = "spacewar/button_command")
      public BufferedImage[] command;
      /** Damage button. */
      @Btn3(name = "spacewar/button_damage")
      public BufferedImage[] damage;
      /** Firerange button. */
      @Btn3(name = "spacewar/button_fire_range")
      public BufferedImage[] fireRange;
      /** Grid button. */
      @Btn3(name = "spacewar/button_grid")
      public BufferedImage[] grid;
      /** Guard button. */
      @Btn3(name = "spacewar/button_guard")
      public BufferedImage[] guard;
      /** Move button. */
      @Btn3(name = "spacewar/button_move")
      public BufferedImage[] move;
      /** Rocket button. */
      @Btn3(name = "spacewar/button_rocket")
      public BufferedImage[] rocket;
      /** Toggle layout. */
      @Img(name = "spacewar/button_layout_toggle")
      public BufferedImage layoutToggle;
      /** Retreat button. */
      @Btn2(name = "spacewar/button_retreat")
      public BufferedImage[] retreat;
      /** Sure button. */
      @Btn2(name = "spacewar/button_sure")
      public BufferedImage[] sure;
      /**
       * Load resources.
       * @param rl the resource locator
       * @return this;
       */
      public SpacewarGFX load(ResourceLocator rl) {
          GFXLoader.loadResources(this, rl);
          return this;
      }
  }
  