Uses of Enum Class
marauroa.common.game.Definition.DefinitionClass
Package
Description
This package stores all the important data structures of Marauroa.
-
Uses of Definition.DefinitionClass in marauroa.common.game
Modifier and TypeMethodDescriptionDefinition.getDefinitionClass()
Returns the DefinitionClassstatic Definition.DefinitionClass
Returns the enum constant of this class with the specified name.static Definition.DefinitionClass[]
Definition.DefinitionClass.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, byte flags)
Adds a definition of an event or rplink with the given flags.void
RPClass.add(Definition.DefinitionClass clazz, String name, int capacity, byte flags)
Adds a definition of an slot with the given capacity and flags.void
RPClass.add(Definition.DefinitionClass clazz, String name, String value, byte flags)
Adds a static definition of an attribute that will be set for any object of the class.void
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.short
RPClass.getCode(Definition.DefinitionClass clazz, String name)
Returns the code of the attribute/event/slot whose name is name for this rpclassRPClass.getDefinition(Definition.DefinitionClass clazz, String name)
Returns the definition object itself.RPClass.getName(Definition.DefinitionClass clazz, short code)
Returns the name of the attribute whose code is code for this rpclassboolean
RPClass.hasDefinition(Definition.DefinitionClass clazz, String name)
Returns true if name attributes, slot, event or rplink exists in this RPClass or any of its ancestors.ModifierConstructorDescriptionprotected
Definition(Definition.DefinitionClass clazz)
creates a new definition object bases on the provided definition class