|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||

java.lang.Objectjava.lang.Enum<ItemCathegory>
decisionMakingSystem.ItemCathegory
public enum ItemCathegory
cathegory of an item which determines basicaly what we can do with it
| Enum Constant Summary | |
|---|---|
INVENTORY
object stored in the inventory of the agent |
|
PICKABLE
for items agent can pick up |
|
PLACE
for places -> like an Affordance TO_COOK_AT can be performed in the kitchen |
|
PLAYER
player, can't pick it up, can move, ... |
|
| Method Summary | |
|---|---|
static ItemCathegory |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ItemCathegory[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final ItemCathegory PICKABLE
public static final ItemCathegory PLACE
public static final ItemCathegory PLAYER
public static final ItemCathegory INVENTORY
| Method Detail |
|---|
public static ItemCathegory[] values()
for (ItemCathegory c : ItemCathegory.values()) System.out.println(c);
public static ItemCathegory valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||