package com.haxademic.core.app;

import com.haxademic.core.data.store.AppStore;
import com.jogamp.opengl.GL;

import processing.core.PApplet;

public class P
extends PApplet {
	public static PAppletHax p;
	public static GL gl;	
	public static AppStore store;	
}

@@ -73,16 +73,57 @@
 pStore;%0A
+import com.haxademic.core.file.FileUtil;%0A
 import c
@@ -143,16 +143,16 @@
 ngl.GL;%0A
-
 %0Aimport 
@@ -175,16 +175,47 @@
 PApplet;
+%0Aimport processing.core.PImage;
 %0A%0Apublic
@@ -241,16 +241,47 @@
 pplet %7B%0A
+%09%0A%09// static app object refs%0A%09%0A
 %09public 
@@ -324,16 +324,16 @@
 GL gl;%09%0A
-
 %09public 
@@ -356,10 +356,130 @@
 store;%09%0A
+%09%0A%09// helper methods%0A%09%0A%09public static PImage getImage(String file) %7B%0A%09%09return P.p.loadImage(FileUtil.getFile(file));%0A%09%7D%0A
 %7D%0A

Add getImage() helper