Uses of Enum Class
model.entity.CharacterType
Packages that use CharacterType
Package
Description
JavaFX UI layer — all Scene screens and the GameController connecting the View to the Model.
All entities in the game: the 4 Player subclasses and Goblin.
Core game control package containing GameManager, ZoneManager, GameState, and GameEventListener.
-
Uses of CharacterType in application
Methods in application that return CharacterTypeModifier and TypeMethodDescriptionprivate CharacterTypeConverts a class name string to the corresponding CharacterType enum value. -
Uses of CharacterType in model.entity
Subclasses with type arguments of type CharacterType in model.entityModifier and TypeClassDescriptionenumEnum of selectable characters that also acts as a factory for the correct Player subclass.Methods in model.entity that return CharacterTypeModifier and TypeMethodDescriptionstatic CharacterTypeReturns the enum constant of this class with the specified name.static CharacterType[]CharacterType.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of CharacterType in model.game
Fields in model.game declared as CharacterTypeModifier and TypeFieldDescriptionprivate CharacterTypeGameManager.selectedType1Character type selected by player 1.private CharacterTypeGameManager.selectedType2Character type selected by player 2.Methods in model.game with parameters of type CharacterTypeModifier and TypeMethodDescriptionvoidGameManager.selectCharacter(int playerIndex, CharacterType type) Selects a character for the given player.