Uses of Class
edu.wisc.game.sql.Piece
Packages that use Piece
Package
Description
Top-level Game Server code
The RESTful web API
Persistent data structures
-
Uses of Piece in edu.wisc.game.engine
Methods in edu.wisc.game.engine with parameters of type PieceModifier and TypeMethodDescriptionbooleanRuleSet.Atom.acceptsColorShapeAndProperties(Piece p, Expression.VarMap2 varMap) Does this atom accept a specified piece, based on its shape, color, and (in GS3+) any other properties? Since GS5, the "code:" field of the atom is also taken into account. -
Uses of Piece in edu.wisc.game.rest
Methods in edu.wisc.game.rest that return Piece -
Uses of Piece in edu.wisc.game.sql
Methods in edu.wisc.game.sql that return PieceModifier and TypeMethodDescriptionPiece[]Board.asBoardPieces()Produces an array of pieces with N*N elements, with nulls for empty cells.Piece[]Episode.getPieces()Piece[]Board.toPieceList()Creates an array with N*N+1 elements, where the element in position j represents the game piece, if any, in cell No.Methods in edu.wisc.game.sql that return types with arguments of type PieceMethods in edu.wisc.game.sql with parameters of type PieceModifier and TypeMethodDescriptionvoidstatic StringEpisode.graphicDisplayAscii(Piece[] pieces, int lastMovePos, boolean weShowAllMovables, boolean[] isMoveable, boolean html) Retired from the web game server; still used in Captive Game Server.static StringHtmlDisplay.htmlDisplay(Piece[] pieces, int lastMovePos, boolean weShowAllMovables, boolean[] isMoveable, int cellWidth, boolean canMove) static BitSetvoidBoard.removePiece(Piece c) Method parameters in edu.wisc.game.sql with type arguments of type PieceConstructors in edu.wisc.game.sql with parameters of type Piece