org.game.JVirus
Class Levels

java.lang.Object
  |
  +--org.game.JVirus.Levels

public final class Levels
extends java.lang.Object

static class for level loading. Only static methods here.

See Also:
Resource

Field Summary
protected static java.util.Vector vecLevels
          container for loaded levels
 
Constructor Summary
Levels()
           
 
Method Summary
static int getLevelCount()
          get the level count back
static java.util.Vector getLevels()
          if call first time load the levels, if second time only get vecLevels back.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vecLevels

protected static java.util.Vector vecLevels
container for loaded levels
Constructor Detail

Levels

public Levels()
Method Detail

getLevels

public static java.util.Vector getLevels()
if call first time load the levels, if second time only get vecLevels back.

getLevelCount

public static int getLevelCount()
get the level count back