Class System

java.lang.Object
  |
  +--TObject
        |
        +--System

public class System
extends TObject

System: Class System is an abstract class that contains the NOOL basic functions. System can't be refered, method are directly accessed in the code.

Since:
First release

Constructor Summary
System()
           
 
Method Summary
static boolean bool(boolean boolean0, java.lang.String operand, boolean boolean1)
          Returns the result of the bool operation.
static boolean isObjOn(TVCpn component0, TVCpn component1)
          Is Object On: Checks if a visual component is over another.
 void savepic(int x0, int y0, int x1, int y1, java.lang.String imageFile)
          Saves a part of the screen.
 void sprite(int x0, int y0, int mode, java.lang.String imageFile)
          Draws a part of the screen.
 TVCpn wObjOn(TVCpn component0, TVCpn component1)
          Checks which component is over another.
 
Methods inherited from class TObject
clone, Destroy, equals, toString
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

System

public System()
Method Detail

bool

public static boolean bool(boolean boolean0,
                           java.lang.String operand,
                           boolean boolean1)
Returns the result of the bool operation.

Parameters:
operand - The operand used. (options: and, or, xor)
Returns:
result: True if result is true.
Since:
First release

isObjOn

public static boolean isObjOn(TVCpn component0,
                              TVCpn component1)
Is Object On: Checks if a visual component is over another.

Parameters:
component0 - The first component.
component1 - The second component.
Returns:
result: True if component0 is over component1.
Since:
First release

savepic

public void savepic(int x0,
                    int y0,
                    int x1,
                    int y1,
                    java.lang.String imageFile)
Saves a part of the screen.

Parameters:
x0 - The top left corner x.
y0 - The top left corner y.
x1 - The down right corner x.
y1 - The down right corner y.
imageFile - The name of the image file.
Since:
First release

sprite

public void sprite(int x0,
                   int y0,
                   int mode,
                   java.lang.String imageFile)
Draws a part of the screen.

Parameters:
x0 - The top left corner x.
y0 - The top left corner y.
mode - The mode of drawing. (options: 0(inverted), 1(superposition), 2('xor'), 3(erase), 4(replace), 6('and'))
imageFile - The name of the image file.
Since:
First release

wObjOn

public TVCpn wObjOn(TVCpn component0,
                    TVCpn component1)
Checks which component is over another.

Parameters:
component0 - The first component.
component1 - The second component.
Returns:
result: component0 if it is over component1.
Since:
First release