Uses of Enum Class
marauroa.common.game.Definition.Type
Packages that use Definition.Type
Package
Description
This package stores all the important data structures of Marauroa.
-
Uses of Definition.Type in marauroa.common.game
Methods in marauroa.common.game that return Definition.TypeModifier and TypeMethodDescriptionDefinition.getType()Returns the type of the definitionstatic Definition.TypeReturns 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.Methods in marauroa.common.game with parameters of type Definition.TypeModifier and TypeMethodDescriptionvoidRPClass.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 )voidRPClass.add(Definition.DefinitionClass clazz, String name, Definition.Type type, byte flags)Adds a definition of an attribute with the given type and flags.voidRPClass.addAttribute(String name, Definition.Type type)Adds a definition of an attribute with the given type and standard flags: VISIBLE and STORABLE.voidRPClass.addAttribute(String name, Definition.Type type, byte flags)Adds a definition of an attribute with the given type and flags.static DefinitionDefinition.defineAttribute(String name, Definition.Type type, byte flags)Creates an Attribute definitionvoidDefinition.setType(Definition.Type type)Sets the type of the definition: BYTE, INT, SHORT, STRING, ...