public enum Gen2TechnicalMachines extends java.lang.Enum<Gen2TechnicalMachines> implements ITechnicalMove
ITechnicalMove.Adapter
Modifier and Type | Field and Description |
---|---|
protected static java.util.Map<java.lang.Integer,Gen2TechnicalMachines> |
idMap |
protected static java.util.Map<java.lang.String,Gen2TechnicalMachines> |
nameMap |
protected static java.util.Map<Element,java.util.List<ITechnicalMove>> |
typeMap |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAttackName()
Gets the name of the attack this record/machine teaches
|
int |
getId()
Gets the TM/TR record/machine number.
|
static Gen2TechnicalMachines |
getTm(int id) |
static Gen2TechnicalMachines |
getTm(java.lang.String attackName) |
java.util.Map<Element,java.util.List<ITechnicalMove>> |
getTypeMap()
Get map of TMs to typings.
|
java.lang.String |
prefix()
Prefix of this tm/tr type.
|
static Gen2TechnicalMachines |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Gen2TechnicalMachines[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
getAllFor, getAttack, getForType, getGeneration, getMoveFor, getMoveFor, getTypeMapFor, mapToTypes
public static final Gen2TechnicalMachines DynamicPunch
public static final Gen2TechnicalMachines Headbutt
public static final Gen2TechnicalMachines Curse
public static final Gen2TechnicalMachines Rollout
public static final Gen2TechnicalMachines Roar
public static final Gen2TechnicalMachines Toxic
public static final Gen2TechnicalMachines Zap_Cannon
public static final Gen2TechnicalMachines Rock_Smash
public static final Gen2TechnicalMachines Psych_Up
public static final Gen2TechnicalMachines Hidden_Power
public static final Gen2TechnicalMachines Sunny_Day
public static final Gen2TechnicalMachines Sweet_Scent
public static final Gen2TechnicalMachines Snore
public static final Gen2TechnicalMachines Blizzard
public static final Gen2TechnicalMachines Hyper_Beam
public static final Gen2TechnicalMachines Icy_Wind
public static final Gen2TechnicalMachines Protect
public static final Gen2TechnicalMachines Rain_Dance
public static final Gen2TechnicalMachines Giga_Drain
public static final Gen2TechnicalMachines Endure
public static final Gen2TechnicalMachines Frustration
public static final Gen2TechnicalMachines Solar_Beam
public static final Gen2TechnicalMachines Iron_Tail
public static final Gen2TechnicalMachines DragonBreath
public static final Gen2TechnicalMachines Thunder
public static final Gen2TechnicalMachines Earthquake
public static final Gen2TechnicalMachines Return
public static final Gen2TechnicalMachines Dig
public static final Gen2TechnicalMachines Psychic
public static final Gen2TechnicalMachines Shadow_Ball
public static final Gen2TechnicalMachines Mud_Slap
public static final Gen2TechnicalMachines Double_Team
public static final Gen2TechnicalMachines Ice_Punch
public static final Gen2TechnicalMachines Swagger
public static final Gen2TechnicalMachines Sleep_Talk
public static final Gen2TechnicalMachines Sludge_Bomb
public static final Gen2TechnicalMachines Sandstorm
public static final Gen2TechnicalMachines Fire_Blast
public static final Gen2TechnicalMachines Swift
public static final Gen2TechnicalMachines Defense_Curl
public static final Gen2TechnicalMachines Thunder_Punch
public static final Gen2TechnicalMachines Dream_Eater
public static final Gen2TechnicalMachines Detect
public static final Gen2TechnicalMachines Rest
public static final Gen2TechnicalMachines Attract
public static final Gen2TechnicalMachines Thief
public static final Gen2TechnicalMachines Steel_Wing
public static final Gen2TechnicalMachines Fire_Punch
public static final Gen2TechnicalMachines Fury_Cutter
public static final Gen2TechnicalMachines Nightmare
protected static final java.util.Map<java.lang.Integer,Gen2TechnicalMachines> idMap
protected static final java.util.Map<java.lang.String,Gen2TechnicalMachines> nameMap
protected static final java.util.Map<Element,java.util.List<ITechnicalMove>> typeMap
public static Gen2TechnicalMachines[] values()
for (Gen2TechnicalMachines c : Gen2TechnicalMachines.values()) System.out.println(c);
public static Gen2TechnicalMachines valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String prefix()
ITechnicalMove
prefix
in interface ITechnicalMove
public int getId()
ITechnicalMove
getId
in interface ITechnicalMove
public java.lang.String getAttackName()
ITechnicalMove
getAttackName
in interface ITechnicalMove
public static Gen2TechnicalMachines getTm(int id)
public static Gen2TechnicalMachines getTm(java.lang.String attackName)
public java.util.Map<Element,java.util.List<ITechnicalMove>> getTypeMap()
ITechnicalMove
getTypeMap
in interface ITechnicalMove