Uses of Class
org.swtpra1.amazongame.Square
-
Packages that use Square Package Description org.swtpra1 Namespace for all java classes for the group "swtpra1" of the "Softwaretechnikpraktikum WS20/21" at the Universität Paderborn.org.swtpra1.amazongame Classes used to model the execution of the game of the amazons according to the api. -
-
Uses of Square in org.swtpra1
Methods in org.swtpra1 that return types with arguments of type Square Modifier and Type Method Description protected static java.util.List<Square>
AIPlayer. generateQueensMoves(Square startingSquare, Board board)
Gets the Squares a queen can move to from a given square It is used to generate the queen and shot squares.Methods in org.swtpra1 with parameters of type Square Modifier and Type Method Description protected static java.util.List<Square>
AIPlayer. generateQueensMoves(Square startingSquare, Board board)
Gets the Squares a queen can move to from a given square It is used to generate the queen and shot squares. -
Uses of Square in org.swtpra1.amazongame
Methods in org.swtpra1.amazongame that return Square Modifier and Type Method Description Square
Turn. getMoveEnd()
Square
Turn. getMoveStart()
Square
Turn. getShot()
Methods in org.swtpra1.amazongame with parameters of type Square Modifier and Type Method Description void
Board. move(Square start, Square end, Player player)
Frees the source square and takes the target square and marks it with player id.void
Board. shoot(Square shot)
Blocks a given square.Constructors in org.swtpra1.amazongame with parameters of type Square Constructor Description Turn(Square moveStart, Square moveEnd, Square shot, Player player)
Constructs a turn from one Square to another Square.
-