cy-elec_Pacman_Game/Ref_globalImages.pde

//ghosts
PImage ghost_inky_up0_img;//loadImage("data/ghosts/ghost_inky_up0.png");
PImage ghost_inky_up1_img;//loadImage("data/ghosts/ghost_inky_up1.png");
PImage ghost_inky_down0_img;//loadImage("data/ghosts/ghost_inky_down0.png");
PImage ghost_inky_down1_img;//loadImage("data/ghosts/ghost_inky_down1.png");
PImage ghost_inky_left0_img;//loadImage("data/ghosts/ghost_inky_left0.png");
PImage ghost_inky_left1_img;//loadImage("data/ghosts/ghost_inky_left1.png");
PImage ghost_inky_right0_img;//loadImage("data/ghosts/ghost_inky_right0.png");
PImage ghost_inky_right1_img;//loadImage("data/ghosts/ghost_inky_right1.png");
PImage ghost_inky_frightened_img;//loadImage("data/ghosts/ghost_inky_frightened.png");
PImage ghost_inky_default_img;//loadImage("data/ghosts/ghost_inky_default.png");

PImage ghost_blinky_up0_img;//loadImage("data/ghosts/ghost_blinky_up0.png");
PImage ghost_blinky_up1_img;//loadImage("data/ghosts/ghost_blinky_up1.png");
PImage ghost_blinky_down0_img;//loadImage("data/ghosts/ghost_blinky_down0.png");
PImage ghost_blinky_down1_img;//loadImage("data/ghosts/ghost_blinky_down1.png");
PImage ghost_blinky_left0_img;//loadImage("data/ghosts/ghost_blinky_left0.png");
PImage ghost_blinky_left1_img;//loadImage("data/ghosts/ghost_blinky_left1.png");
PImage ghost_blinky_right0_img;//loadImage("data/ghosts/ghost_blinky_right0.png");
PImage ghost_blinky_right1_img;//loadImage("data/ghosts/ghost_blinky_right1.png");
PImage ghost_blinky_frightened_img;//loadImage("data/ghosts/ghost_blinky_frightened.png");
PImage ghost_blinky_default_img;//loadImage("data/ghosts/ghost_blinky_default.png");

PImage ghost_kinky_up0_img;//loadImage("data/ghosts/ghost_kinky_up0.png");
PImage ghost_kinky_up1_img;//loadImage("data/ghosts/ghost_kinky_up1.png");
PImage ghost_kinky_down0_img;//loadImage("data/ghosts/ghost_kinky_down0.png");
PImage ghost_kinky_down1_img;//loadImage("data/ghosts/ghost_kinky_down1.png");
PImage ghost_kinky_left0_img;//loadImage("data/ghosts/ghost_kinky_left0.png");
PImage ghost_kinky_left1_img;//loadImage("data/ghosts/ghost_kinky_left1.png");
PImage ghost_kinky_right0_img;//loadImage("data/ghosts/ghost_kinky_right0.png");
PImage ghost_kinky_right1_img;//loadImage("data/ghosts/ghost_kinky_right1.png");
PImage ghost_kinky_frightened_img;//loadImage("data/ghosts/ghost_kinky_frightened.png");
PImage ghost_kinky_default_img;//loadImage("data/ghosts/ghost_kinky_default.png");

PImage ghost_pinky_up0_img;//loadImage("data/ghosts/ghost_pinky_up0.png");
PImage ghost_pinky_up1_img;//loadImage("data/ghosts/ghost_pinky_up1.png");
PImage ghost_pinky_down0_img;//loadImage("data/ghosts/ghost_pinky_down0.png");
PImage ghost_pinky_down1_img;//loadImage("data/ghosts/ghost_pinky_down1.png");
PImage ghost_pinky_left0_img;//loadImage("data/ghosts/ghost_pinky_left0.png");
PImage ghost_pinky_left1_img;//loadImage("data/ghosts/ghost_pinky_left1.png");
PImage ghost_pinky_right0_img;//loadImage("data/ghosts/ghost_pinky_right0.png");
PImage ghost_pinky_right1_img;//loadImage("data/ghosts/ghost_pinky_right1.png");
PImage ghost_pinky_frightened_img;//loadImage("data/ghosts/ghost_pinky_frightened.png");
PImage ghost_pinky_default_img;//loadImage("data/ghosts/ghost_pinky_default.png");

PImage ghost_clyde_up0_img;//loadImage("data/ghosts/ghost_clyde_up0.png");
PImage ghost_clyde_up1_img;//loadImage("data/ghosts/ghost_clyde_up1.png");
PImage ghost_clyde_down0_img;//loadImage("data/ghosts/ghost_clyde_down0.png");
PImage ghost_clyde_down1_img;//loadImage("data/ghosts/ghost_clyde_down1.png");
PImage ghost_clyde_left0_img;//loadImage("data/ghosts/ghost_clyde_left0.png");
PImage ghost_clyde_left1_img;//loadImage("data/ghosts/ghost_clyde_left1.png");
PImage ghost_clyde_right0_img;//loadImage("data/ghosts/ghost_clyde_right0.png");
PImage ghost_clyde_right1_img;//loadImage("data/ghosts/ghost_clyde_right1.png");
PImage ghost_clyde_frightened_img;//loadImage("data/ghosts/ghost_clyde_frightened.png");
PImage ghost_clyde_default_img;//loadImage("data/ghosts/ghost_clyde_default.png");

PImage pacman_up0_img;//loadImage("data/pacman/pacman_up0.png");
PImage pacman_up1_img;//loadImage("data/pacman/pacman_up1.png");
PImage pacman_down0_img;//loadImage("data/pacman/pacman_down0.png");
PImage pacman_down1_img;//loadImage("data/pacman/pacman_down1.png");
PImage pacman_left0_img;//loadImage("data/pacman/pacman_left0.png");
PImage pacman_left1_img;//loadImage("data/pacman/pacman_left1.png");
PImage pacman_right0_img;//loadImage("data/pacman/pacman_right0.png");
PImage pacman_right1_img;//loadImage("data/pacman/pacman_right1.png");
PImage pacman_default_img;//loadImage("data/pacman/pacman_default.png");

void ref_loadImage() {
  ghost_inky_up0_img = loadImage("data/ghosts/ghost_inky_up0.png");
  ghost_inky_up1_img = loadImage("data/ghosts/ghost_inky_up1.png");
  ghost_inky_down0_img = loadImage("data/ghosts/ghost_inky_down0.png");
  ghost_inky_down1_img = loadImage("data/ghosts/ghost_inky_down1.png");
  ghost_inky_left0_img = loadImage("data/ghosts/ghost_inky_left0.png");
  ghost_inky_left1_img = loadImage("data/ghosts/ghost_inky_left1.png");
  ghost_inky_right0_img = loadImage("data/ghosts/ghost_inky_right0.png");
  ghost_inky_right1_img = loadImage("data/ghosts/ghost_inky_right1.png");
  ghost_inky_frightened_img = loadImage("data/ghosts/ghost_inky_frightened.png");
  ghost_inky_default_img = loadImage("data/ghosts/ghost_inky_default.png");

  ghost_blinky_up0_img = loadImage("data/ghosts/ghost_blinky_up0.png");
  ghost_blinky_up1_img = loadImage("data/ghosts/ghost_blinky_up1.png");
  ghost_blinky_down0_img = loadImage("data/ghosts/ghost_blinky_down0.png");
  ghost_blinky_down1_img = loadImage("data/ghosts/ghost_blinky_down1.png");
  ghost_blinky_left0_img = loadImage("data/ghosts/ghost_blinky_left0.png");
  ghost_blinky_left1_img = loadImage("data/ghosts/ghost_blinky_left1.png");
  ghost_blinky_right0_img = loadImage("data/ghosts/ghost_blinky_right0.png");
  ghost_blinky_right1_img = loadImage("data/ghosts/ghost_blinky_right1.png");
  ghost_blinky_frightened_img = loadImage("data/ghosts/ghost_blinky_frightened.png");
  ghost_blinky_default_img = loadImage("data/ghosts/ghost_blinky_default.png");

  ghost_kinky_up0_img = loadImage("data/ghosts/ghost_kinky_up0.png");
  ghost_kinky_up1_img = loadImage("data/ghosts/ghost_kinky_up1.png");
  ghost_kinky_down0_img = loadImage("data/ghosts/ghost_kinky_down0.png");
  ghost_kinky_down1_img = loadImage("data/ghosts/ghost_kinky_down1.png");
  ghost_kinky_left0_img = loadImage("data/ghosts/ghost_kinky_left0.png");
  ghost_kinky_left1_img = loadImage("data/ghosts/ghost_kinky_left1.png");
  ghost_kinky_right0_img = loadImage("data/ghosts/ghost_kinky_right0.png");
  ghost_kinky_right1_img = loadImage("data/ghosts/ghost_kinky_right1.png");
  ghost_kinky_frightened_img = loadImage("data/ghosts/ghost_kinky_frightened.png");
  ghost_kinky_default_img = loadImage("data/ghosts/ghost_kinky_default.png");

  ghost_pinky_up0_img = loadImage("data/ghosts/ghost_pinky_up0.png");
  ghost_pinky_up1_img = loadImage("data/ghosts/ghost_pinky_up1.png");
  ghost_pinky_down0_img = loadImage("data/ghosts/ghost_pinky_down0.png");
  ghost_pinky_down1_img = loadImage("data/ghosts/ghost_pinky_down1.png");
  ghost_pinky_left0_img = loadImage("data/ghosts/ghost_pinky_left0.png");
  ghost_pinky_left1_img = loadImage("data/ghosts/ghost_pinky_left1.png");
  ghost_pinky_right0_img = loadImage("data/ghosts/ghost_pinky_right0.png");
  ghost_pinky_right1_img = loadImage("data/ghosts/ghost_pinky_right1.png");
  ghost_pinky_frightened_img = loadImage("data/ghosts/ghost_pinky_frightened.png");
  ghost_pinky_default_img = loadImage("data/ghosts/ghost_pinky_default.png");

  ghost_clyde_up0_img = loadImage("data/ghosts/ghost_clyde_up0.png");
  ghost_clyde_up1_img = loadImage("data/ghosts/ghost_clyde_up1.png");
  ghost_clyde_down0_img = loadImage("data/ghosts/ghost_clyde_down0.png");
  ghost_clyde_down1_img = loadImage("data/ghosts/ghost_clyde_down1.png");
  ghost_clyde_left0_img = loadImage("data/ghosts/ghost_clyde_left0.png");
  ghost_clyde_left1_img = loadImage("data/ghosts/ghost_clyde_left1.png");
  ghost_clyde_right0_img = loadImage("data/ghosts/ghost_clyde_right0.png");
  ghost_clyde_right1_img = loadImage("data/ghosts/ghost_clyde_right1.png");
  ghost_clyde_frightened_img = loadImage("data/ghosts/ghost_clyde_frightened.png");
  ghost_clyde_default_img = loadImage("data/ghosts/ghost_clyde_default.png");

  pacman_up0_img = loadImage("data/pacman/pacman_up0.png");
  pacman_up1_img = loadImage("data/pacman/pacman_up1.png");
  pacman_down0_img = loadImage("data/pacman/pacman_down0.png");
  pacman_down1_img = loadImage("data/pacman/pacman_down1.png");
  pacman_left0_img = loadImage("data/pacman/pacman_left0.png");
  pacman_left1_img = loadImage("data/pacman/pacman_left1.png");
  pacman_right0_img = loadImage("data/pacman/pacman_right0.png");
  pacman_right1_img = loadImage("data/pacman/pacman_right1.png");
  pacman_default_img = loadImage("data/pacman/pacman_default.png");
}
