public Logic createFromWWD(String logic, String image, String animation, byte[] data) {
Logic l = null;
// Create scenery logic
if (logic.equals("EyeCandy") || logic.equals("EyeCandyAni") || logic.equals("BehindCandyAni") || logic.equals("DoNothing") || logic.equals("BehindCandy")) {
l = new Scenery();
} else if (logic.equals("GruntStartingPoint")) {
l = new Grunt();
} else if (logic.equals("InGameIcon")) {
l = new Pickup();
} else if (logic.equals("TileTrigger") || logic.equals("TileSecretTrigger") || logic.equals("SecretLevelTrigger")) {