// ---------------------------------------------------------
// Class: ImageObject
// ---------------------------------------------------------
// ImageObject is a class is that stores the PImage along
// with the x and y coordinates where it will get drawn
// to the screen.
// ---------------------------------------------------------

import processing.core.*;

public class ImageObject {

  PImage pimg;
  int x,y;

  // Constructor
  // -------------------
  public ImageObject(PImage pimg, int x, int y) {
    this.pimg = pimg;
    this.x = x;
    this.y = y;
  }

  // Get/Set Methods
  // -------------------
  public PImage getPImage() {
    return pimg; 
  }

  public int getX() {
    return x; 
  }

  public int getY() {
    return y; 
  }
}
