Uses of Class
fr.iut.tetris.enums.LineCompleted
-
Packages that use LineCompleted Package Description fr.iut.tetris.enums fr.iut.tetris.models -
-
Uses of LineCompleted in fr.iut.tetris.enums
Methods in fr.iut.tetris.enums that return LineCompleted Modifier and Type Method Description static LineCompleted
LineCompleted. getScore(int lineCount, int lastLineY, int gameHeight)
static LineCompleted
LineCompleted. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LineCompleted[]
LineCompleted. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of LineCompleted in fr.iut.tetris.models
Methods in fr.iut.tetris.models with parameters of type LineCompleted Modifier and Type Method Description void
CoopModel. calculateScore(LineCompleted lc)
Calculate the current score based of the point multiplier of the LineCompleted parametervoid
SoloModel. calculateScore(LineCompleted lc)
Calculate the current score based of the point multiplier of the LineCompleted parametervoid
VersusModel. calculateScore(LineCompleted lc, int player)
Calculate the current score based of the point multiplier of the LineCompleted parameter
-