I am getting the error message "The method getCurrentTime() is undefined for the type lightQueue, and the same thing for getEndTime().
I know that eclipse can see my other class and these methods because my lightStatus() and introduction() calls are working fine. I have read a bit about how to resolve this, but none if it seems to apply. THe methods I am calling are simple getters with an int return value.
public static void run(){ lightQueue lightQueue = new lightQueue(); lightQueue.introduction(); while(lightQueue.getCurrentTime()<= lightQueue.getEndTime()){ } lightQueue.lightStatus(); lightQueue.endSimulation(); }