|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--objects.WeaponType
This class holds constants for the various weapon types, and the mapping to textual names.
Field Summary | |
static byte |
BOMB
The targeting bomb |
static byte |
NONE
No weapon. |
static byte |
PHASER
The phaser |
Constructor Summary | |
WeaponType()
|
Method Summary | |
static java.lang.String |
getName(byte weapon)
Gets a textual name given a weapon constant. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final byte NONE
public static final byte PHASER
public static final byte BOMB
Constructor Detail |
public WeaponType()
Method Detail |
public static final java.lang.String getName(byte weapon)
weapon
- the weapon constant.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |