Uses of Enum Class
edu.ntnu.idi.idatt.dto.ComponentSpec.Direction
Packages that use ComponentSpec.Direction
-
Uses of ComponentSpec.Direction in edu.ntnu.idi.idatt.dto
Methods in edu.ntnu.idi.idatt.dto that return ComponentSpec.DirectionModifier and TypeMethodDescriptionstatic ComponentSpec.Direction
ComponentSpec.Direction.fromCode
(char code) Converts a character code to its corresponding Direction enum.ComponentSpec.heightDirection()
Returns the value of theheightDirection
record component.static ComponentSpec.Direction
Returns the enum constant of this class with the specified name.static ComponentSpec.Direction[]
ComponentSpec.Direction.values()
Returns an array containing the constants of this enum class, in the order they are declared.ComponentSpec.widthDirection()
Returns the value of thewidthDirection
record component.Constructors in edu.ntnu.idi.idatt.dto with parameters of type ComponentSpec.DirectionModifierConstructorDescriptionComponentSpec
(int widthTiles, ComponentSpec.Direction widthDirection, int heightTiles, ComponentSpec.Direction heightDirection, ComponentSpec.ComponentType type) Creates an instance of aComponentSpec
record class.