Uses of Enum Class
marauroa.common.game.Definition.DefinitionClass
Packages that use Definition.DefinitionClass
Package
Description
This package stores all the important data structures of Marauroa.
-
Uses of Definition.DefinitionClass in marauroa.common.game
Methods in marauroa.common.game that return Definition.DefinitionClassModifier and TypeMethodDescriptionDefinition.getDefinitionClass()Returns the DefinitionClassstatic Definition.DefinitionClassReturns 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.Methods in marauroa.common.game with parameters of type Definition.DefinitionClassModifier and TypeMethodDescriptionvoidRPClass.add(Definition.DefinitionClass clazz, String name, byte flags)Adds a definition of an event or rplink with the given flags.voidRPClass.add(Definition.DefinitionClass clazz, String name, int capacity, byte flags)Adds a definition of an slot with the given capacity and flags.voidRPClass.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.voidRPClass.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.shortRPClass.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 rpclassbooleanRPClass.hasDefinition(Definition.DefinitionClass clazz, String name)Returns true if name attributes, slot, event or rplink exists in this RPClass or any of its ancestors.Constructors in marauroa.common.game with parameters of type Definition.DefinitionClassModifierConstructorDescriptionprotectedDefinition(Definition.DefinitionClass clazz)creates a new definition object bases on the provided definition class