de.limdul.cassiopeia.data.game
Class OptionSetEntry

java.lang.Object
  extended by de.limdul.cassiopeia.data.game.OptionSetEntry

public class OptionSetEntry
extends Object

Ein Eintrag in ein Optionset.

Version:
$Revision: 69 $
Author:
Martin Köhler

Constructor Summary
OptionSetEntry(int type, int value)
          Erzeugt einen Eintrag.
OptionSetEntry(String name, int value)
          Erzeugt einen Eintrag.
 
Method Summary
 int getType()
          Liefert den Typ der Option.
 int getValue()
          Liefert den Wert der Option.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OptionSetEntry

public OptionSetEntry(int type,
                      int value)
Erzeugt einen Eintrag.

Parameters:
type - Der Typ der Option.
value - Der Wert der Option

OptionSetEntry

public OptionSetEntry(String name,
                      int value)
Erzeugt einen Eintrag.

Parameters:
name - Der name der Option.
value - Der Wert der Option
Method Detail

getType

public int getType()
Liefert den Typ der Option.

Returns:
Der Typ der Option.

getValue

public int getValue()
Liefert den Wert der Option.

Returns:
Der Wert der Option.