SHARE
TWEET

Untitled

a guest Oct 7th, 2015 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.         public void render () {
  2.                         //SpriteBatch
  3.                         sb.begin();
  4.                                 grid.render(sb);
  5.                                 ant.render(sb);
  6.                         sb.end();
  7.                 if(((System.nanoTime() - processTime)) > nanosecondsBetweenUpdates)
  8.                 {
  9.                         ant.update(grid.getSquares());
  10.                         processTime = System.nanoTime();
  11.                 }
  12.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top