package ie.dit;

import processing.core.PApplet;
import processing.core.PImage;
import processing.core.PVector;

public class Map extends GameObject{
	
	PImage img;
	
	Map(PApplet applet){
		super(applet);
		location = new PVector(0, 0);
		w = this.applet.width;
		h= this.applet.height;
		img = this.applet.loadImage("data/map.jpg");
	} // End constructor.
	
	public void display() {
		this.applet.image(img, location.x, location.y, w, h);
	} // End display.
	
} // End Map.
@@ -475,16 +475,24 @@
 play.%0D%0A%09
+//Update
 %0D%0A%7D // E

Update Test