megamek
Class MegaMek

java.lang.Object
  extended by megamek.MegaMek

public class MegaMek
extends java.lang.Object

Author:
mev This is the class where the execution of the megamek game starts.

Field Summary
static long TIMESTAMP
           
static java.lang.String VERSION
           
 
Constructor Summary
MegaMek()
           
 
Method Summary
static java.lang.String getMemoryUsed()
          This function returns the memory used in the heap (heap memory - free memory).
static java.lang.String getVersion()
          Returns the version of Megamek
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION

public static java.lang.String VERSION

TIMESTAMP

public static long TIMESTAMP
Constructor Detail

MegaMek

public MegaMek()
Method Detail

main

public static void main(java.lang.String[] args)

getMemoryUsed

public static java.lang.String getMemoryUsed()
This function returns the memory used in the heap (heap memory - free memory).

Returns:
memory used in kB

getVersion

public static java.lang.String getVersion()
Returns the version of Megamek

Returns:
the version of Megamek as a string.