com.WorldLibAndroid
Interface IInit

All Known Implementing Classes:
MainWorld, World

public interface IInit

An interface to provide methods to initialize and end a given world.

Author:
Christian Herrera

Method Summary
 void bigBang(int width, int height, long millis, long interval)
          Initializes the world.
 ContextThemeWrapper context()
          Access to the application's environment.
 void endOfWorld()
          Ends the world
 

Method Detail

bigBang

void bigBang(int width,
             int height,
             long millis,
             long interval)
Initializes the world.

Parameters:
width - of the canvas.
height - of the canvas.
millis - The number of millis in the future from the call to start() until the countdown is done and onFinish() is called.
interval - The interval along the way to receive onTick(long) callbacks.

endOfWorld

void endOfWorld()
Ends the world


context

ContextThemeWrapper context()
Access to the application's environment.

Returns:
the application context