fixed errors associated with moving components to their own folder
parent
0bd51788cb
commit
d2a8704ac9
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue