nu.dll.pong
Class Level.Bonus

java.lang.Object
  |
  +--nu.dll.pong.Level.Bonus
Enclosing class:
Level

public static class Level.Bonus
extends java.lang.Object

Represents a Bonus that may be available in a level.


Field Summary
 int arg
          An argument to the bonus type.
 char letter
          The letter representing the bonus type.
 float probability
          The probability of this bonus object to appear on a level. 1 means full probability (always appears).
 int x
          The horisontal and vertical position of this bonus in the brick matrix.
 int y
          The horisontal and vertical position of this bonus in the brick matrix.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

letter

public char letter
The letter representing the bonus type.

arg

public int arg
An argument to the bonus type. (For example, the score amount if it is a score bonus).

probability

public float probability
The probability of this bonus object to appear on a level. 1 means full probability (always appears).

x

public int x
The horisontal and vertical position of this bonus in the brick matrix.

y

public int y
The horisontal and vertical position of this bonus in the brick matrix.