Uses of Enum Class
marauroa.common.game.Definition.Type
Package
Description
This package stores all the important data structures of Marauroa.
-
Uses of Definition.Type in marauroa.common.game
Modifier and TypeMethodDescriptionDefinition.getType()
Returns the type of the definitionstatic Definition.Type
Returns the enum constant of this class with the specified name.static Definition.Type[]
Definition.Type.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionvoid
RPClass.add(Definition.DefinitionClass clazz, String name, Definition.Type type)
Adds a definition of an attribute with the given type and with the standard flags ( STORABLE and VISIBLE )void
RPClass.add(Definition.DefinitionClass clazz, String name, Definition.Type type, byte flags)
Adds a definition of an attribute with the given type and flags.void
RPClass.addAttribute(String name, Definition.Type type)
Adds a definition of an attribute with the given type and standard flags: VISIBLE and STORABLE.void
RPClass.addAttribute(String name, Definition.Type type, byte flags)
Adds a definition of an attribute with the given type and flags.static Definition
Definition.defineAttribute(String name, Definition.Type type, byte flags)
Creates an Attribute definitionvoid
Definition.setType(Definition.Type type)
Sets the type of the definition: BYTE, INT, SHORT, STRING, ...