Back to index

plt-scheme  4.2.1
Public Member Functions | Protected Attributes | Private Member Functions
idraw.World Class Reference
Collaboration diagram for idraw.World:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void bigBang (int width, int height, double s)
native boolean endOfTime (String s)
native World endOfWorld (String s)
abstract void onTick ()
abstract void onKeyEvent (String ke)
abstract void draw ()

Protected Attributes

Canvas theCanvas

Private Member Functions

native void bigBangO (double s)

Detailed Description

Definition at line 3 of file World.java.


Member Function Documentation

void idraw.World.bigBang ( int  width,
int  height,
double  s 
) [inline]

Definition at line 5 of file World.java.

                                                      {
       if (width <= 0)
           throw new RuntimeException(
                     "The method bigBang(int,int,double) expects " +
                     "the first argument to be greather than 0, given " 
                     + width);
       if (height <= 0)
           throw new RuntimeException(
                       "The method bigBang(int,int,double) expects " +
                     "the second argument to be greather than 0, given " 
                     + height);
       if (s <= 0)
           throw new RuntimeException(
                       "The method bigBang(int,int,double) expects " +
                     "the third argument to be greather than 0, given " 
                     + s);
       theCanvas = new Canvas(width,height); 
       bigBangO(s);
       return ; 
    }

Here is the call graph for this function:

native void idraw.World.bigBangO ( double  s) [private]

Here is the caller graph for this function:

abstract void idraw.World.draw ( ) [pure virtual]
native boolean idraw.World.endOfTime ( String  s)
native World idraw.World.endOfWorld ( String  s)
abstract void idraw.World.onKeyEvent ( String  ke) [pure virtual]
abstract void idraw.World.onTick ( ) [pure virtual]

Member Data Documentation

Definition at line 4 of file World.java.


The documentation for this class was generated from the following file: