This commit is contained in:
2011-02-23 09:58:17 +00:00
parent c0dbab44a2
commit 1eaefc5ba4
8 changed files with 49 additions and 57 deletions

View File

@@ -42,20 +42,19 @@ public class Main extends TaskListener {
}
public void initialise() throws DeviceInitialiseException {
//add(new JIntellitypeDevice());
add(new JIntellitypeDevice());
//add(new PlayerDevice());
//add(new RumblepadDevice());
//add(new WiimoteDevice());
//add(new GUIDevice());
add(new TextDevice());
add(new LanTextDevice());
//add(new TextDevice());
//add(new LanTextDevice());
for (Device device : deviceList) {
try {
device.initialise();
device.start();
} catch (DeviceInitialiseException e) {
remove(device);
e.printStackTrace();
}
}
@@ -70,7 +69,6 @@ public class Main extends TaskListener {
application.start();
} catch (ApplicationInitialiseException e) {
remove(application);
e.printStackTrace();
}
}
}