Niels Posted October 2, 2005 Share Posted October 2, 2005 How get the colors of vehicles? Link to comment
Aeron Posted October 2, 2005 Share Posted October 2, 2005 Close your eyes and write down the colors you see. Link to comment
Aeron Posted October 2, 2005 Share Posted October 2, 2005 import java.awt.Color; import javax.bodyparts.*; import javax.brains.niels.*; //Empty public class Vehicle { public Vehicle() { super(); } public Color getcolor() { try { Eyes.close(); } catch (IOException) { System.err.println("Dont drink to much coffee!"); } Color color = null; try { color = Eyes.getcolor(); } catch (IOException) { Sytem.err.println("Try XTC next time..."); } return color; } } Link to comment
The Azer Posted October 2, 2005 Share Posted October 2, 2005 import java.awt.Color; import javax.bodyparts.*; import javax.brains.niels.*; //Empty public class Vehicle { public Vehicle() { super(); } public Color getcolor() { try { Eyes.close(); } catch (IOException) { System.err.println("Dont drink to much coffee!"); } Color color = null; try { color = Eyes.getcolor(); } catch (IOException) { Sytem.err.println("Try XTC next time..."); } return color; } } rofl Link to comment
MeanpantheR Posted October 2, 2005 Share Posted October 2, 2005 import java.awt.Color; import javax.bodyparts.*; import javax.brains.niels.*; //Empty public class Vehicle { public Vehicle() { super(); } public Color getcolor() { try { Eyes.close(); } catch (IOException) { System.err.println("Dont drink to much coffee!"); } Color color = null; try { color = Eyes.getcolor(); } catch (IOException) { Sytem.err.println("Try XTC next time..."); } return color; } } lmfao *gives aeron a cookie* Link to comment
Harry Posted October 2, 2005 Share Posted October 2, 2005 using javax?? BLEH!!!! Niels: just try some things.. See if there's a method to find out.. or if there are more numbers for 1 vehicle... if there arent... bad luck.. You can allways try to kick Aeron to include it in hte next version Link to comment
Recommended Posts