fixed errors associated with moving components to their own folder

master
Marcus Gosselin 2016-03-10 15:02:49 -05:00
parent 0bd51788cb
commit d2a8704ac9
2 changed files with 3 additions and 3 deletions

View File

@ -140,7 +140,7 @@ public class SceneManager {
}
} catch( ClassNotFoundException e) {
try {
Object maybeComponent = Class.forName("diveengine2d." + componentClass).newInstance();
Object maybeComponent = Class.forName("diveengine2d.components." + componentClass).newInstance();
if(maybeComponent instanceof DiveScript) {
component = (DiveScript)maybeComponent;
}else {

View File

@ -6,8 +6,8 @@ import java.awt.Graphics2D;
public class Tests {
public static void run(Graphics2D g) {
triangleTest(g);
coordinateTest(g);
//triangleTest(g);
//coordinateTest(g);
}
private static void coordinateTest(Graphics2D g) {