public interface ITechnicalMove
Interface for all TM's and TR's
Modifier and Type | Interface and Description |
---|---|
static class |
ITechnicalMove.Adapter |
Modifier and Type | Method and Description |
---|---|
static ITechnicalMove[] |
getAllFor(TMType type) |
default ImmutableAttack |
getAttack() |
java.lang.String |
getAttackName()
Gets the name of the attack this record/machine teaches
|
static java.util.List<ITechnicalMove> |
getForType(ITechnicalMove group,
Element type)
Get TMs of a certain typing.
|
default int |
getGeneration()
Gets the generation this move belongs to.
|
int |
getId()
Gets the TM/TR record/machine number.
|
static ITechnicalMove |
getMoveFor(TMType directory,
int id) |
static ITechnicalMove |
getMoveFor(TMType directory,
java.lang.String name) |
java.util.Map<Element,java.util.List<ITechnicalMove>> |
getTypeMap()
Get map of TMs to typings.
|
static java.util.Map<Element,java.util.List<ITechnicalMove>> |
getTypeMapFor(ITechnicalMove group)
Get type map statically.
|
static void |
mapToTypes()
Map values to types.
|
java.lang.String |
prefix()
Prefix of this tm/tr type.
|
java.lang.String prefix()
int getId()
java.lang.String getAttackName()
default ImmutableAttack getAttack()
static ITechnicalMove getMoveFor(TMType directory, int id)
static ITechnicalMove getMoveFor(TMType directory, java.lang.String name)
default int getGeneration()
static ITechnicalMove[] getAllFor(TMType type)
java.util.Map<Element,java.util.List<ITechnicalMove>> getTypeMap()
static java.util.List<ITechnicalMove> getForType(ITechnicalMove group, Element type)
static java.util.Map<Element,java.util.List<ITechnicalMove>> getTypeMapFor(ITechnicalMove group)
static void mapToTypes()