Search:

Type: Posts; User: Zilender

Search: Search took 0.26 seconds.

  1. Replies
    8
    Views
    473

    Re: program will not end

    Odd i was following up with the while loop.
    public void gameloop(){
    long startTime = System.currentTimeMillis();
    long runTime = startTime;
    refresh();
    s.update();
    while(running){...
  2. Replies
    8
    Views
    473

    Re: program will not end

    public void stop(){
    running = false;
    System.out.println(running);
    }


    it will print false
  3. Replies
    8
    Views
    473

    Re: program will not end

    When i put a system.out.pr in they key press ESCAPE it prints it, but it doesn't execute the stop(): properly. It should change the Boolean running to false and end the gameloop, then going to...
  4. Replies
    8
    Views
    473

    Re: program will not end

    It never gets past the gameloop
  5. Replies
    8
    Views
    473

    program will not end

    I'm new to java and have NO idea why this won't work :S. I think its the Boolean but I'm not sure why.

    public abstract class Core {

    public int[] player = null;{
    player = new int[5];...
Results 1 to 5 of 5