cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric
Enum ItemType

Package class diagram package ItemType
java.lang.Object
  extended by java.lang.Enum<ItemType>
      extended by cz.cuni.amis.pogamut.emohawk.agent.module.sensomotoric.ItemType
All Implemented Interfaces:
Serializable, Comparable<ItemType>

public enum ItemType
extends Enum<ItemType>

Enum holding all available Pogamut items in UnrealEngine2RuntimeDemo and UDK.

Author:
knight

Enum Constant Summary
BALL
           
BOOK
           
BOOKOPENED
           
BROCCOLI
           
CONDOM
           
COOKER
           
CUP
           
DICE
           
FLOWER
           
GUN
           
HEART
           
NONE
           
PLATE
           
POT
           
SHOES
           
SHOESUNTIDY
           
SOAP
           
SOAPBOX
           
SPOON
           
TEDDY
           
TOOTHBRUSH
           
 
Field Summary
static HashMap<String,ItemType> nameMap
           
 
Method Summary
static ItemType getItemType(String name)
           
 String getUDKName()
           
 String getUE2Name()
           
static ItemType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ItemType[] 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

BALL

public static final ItemType BALL

BOOK

public static final ItemType BOOK

BOOKOPENED

public static final ItemType BOOKOPENED

BROCCOLI

public static final ItemType BROCCOLI

CONDOM

public static final ItemType CONDOM

COOKER

public static final ItemType COOKER

CUP

public static final ItemType CUP

DICE

public static final ItemType DICE

FLOWER

public static final ItemType FLOWER

GUN

public static final ItemType GUN

HEART

public static final ItemType HEART

PLATE

public static final ItemType PLATE

POT

public static final ItemType POT

SHOES

public static final ItemType SHOES

SHOESUNTIDY

public static final ItemType SHOESUNTIDY

SOAP

public static final ItemType SOAP

SOAPBOX

public static final ItemType SOAPBOX

SPOON

public static final ItemType SPOON

TEDDY

public static final ItemType TEDDY

TOOTHBRUSH

public static final ItemType TOOTHBRUSH

NONE

public static final ItemType NONE
Field Detail

nameMap

public static HashMap<String,ItemType> nameMap
Method Detail

values

public static ItemType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ItemType c : ItemType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ItemType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

getItemType

public static ItemType getItemType(String name)

getUE2Name

public String getUE2Name()

getUDKName

public String getUDKName()


Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.