Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jdstar
Class GameLoop  view GameLoop download GameLoop.java

java.lang.Object
  extended byjdstar.GameLoop

class GameLoop
extends java.lang.Object


Field Summary
private static boolean _
           
(package private)  Board board
           
(package private)  Buddy buddy
           
(package private)  Display display
           
(package private) static int FRAMES_PER_TILE
          How many times per one tile of movement timer should update GameLoop.
(package private)  Komander komander
           
(package private)  Player player
           
(package private) static int TILES_PER_SECOND
          Speed of movement - how many tiles actor will travel per second.
(package private)  Timer timer
           
 
Constructor Summary
(package private) GameLoop(Board board, Input input, Display display)
           
 
Method Summary
 void start()
           
 void stop()
           
 void tick()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_

private static final boolean _
See Also:
Constant Field Values

FRAMES_PER_TILE

static final int FRAMES_PER_TILE
How many times per one tile of movement timer should update GameLoop.

See Also:
Constant Field Values

TILES_PER_SECOND

static final int TILES_PER_SECOND
Speed of movement - how many tiles actor will travel per second.

See Also:
Constant Field Values

komander

Komander komander

timer

Timer timer

board

Board board

display

Display display

player

Player player

buddy

Buddy buddy
Constructor Detail

GameLoop

GameLoop(Board board,
         Input input,
         Display display)
Method Detail

start

public void start()

tick

public void tick()

stop

public void stop()