source.ucregents.playground
Class Core

java.lang.Object
  extended by source.ucregents.playground.Core
All Implemented Interfaces:
java.lang.Runnable

public class Core
extends java.lang.Object
implements java.lang.Runnable

Class planned for future use but not yet used. Maintains a queue of methods for exectution with each method having a usage time. Planned for game mechanics.


Nested Class Summary
protected  class Core.QueueInfo
           
 
Field Summary
static int MAX_MINITICKS_PER_TICK
           
static int TICK_BUFFER_TIME
           
 
Constructor Summary
Core(Arena arena)
           
 
Method Summary
 void AddToQueue(IThink thinker, java.lang.reflect.Method method, java.lang.Object... objects)
           
 void run()
           
 void Start()
           
 void Stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_MINITICKS_PER_TICK

public static final int MAX_MINITICKS_PER_TICK
See Also:
Constant Field Values

TICK_BUFFER_TIME

public static final int TICK_BUFFER_TIME
See Also:
Constant Field Values
Constructor Detail

Core

public Core(Arena arena)
Method Detail

AddToQueue

public void AddToQueue(IThink thinker,
                       java.lang.reflect.Method method,
                       java.lang.Object... objects)

run

public void run()
Specified by:
run in interface java.lang.Runnable

Start

public void Start()

Stop

public void Stop()