## Uses of Class
edu.wisc.game.sql.Piece

- Packages that use Piece
  Package | Description
  --- | ---
  edu.wisc.game.engine | Top-level Game Server code
  edu.wisc.game.rest | The RESTful web API
  edu.wisc.game.sql | Persistent data structures

- - ### Uses of Piece in edu.wisc.game.engine

    Methods in edu.wisc.game.engine with parameters of type Piece
    Modifier and Type | Method | Description
    --- | --- | ---
    `boolean` | RuleSet.Atom.`acceptsColorShapeAndProperties​(Piece p)` | Does this atom accept a specified piece, based on its shape and color?

  - ### Uses of Piece in edu.wisc.game.rest

    Methods in edu.wisc.game.rest that return Piece
    Modifier and Type | Method | Description
    --- | --- | ---
    `Piece` | GameService.`getPiece1()` |
    `Piece` | GameService.`getPiece2()` |

  - ### Uses of Piece in edu.wisc.game.sql

    Methods in edu.wisc.game.sql that return types with arguments of type Piece
    Modifier and Type | Method | Description
    --- | --- | ---
    `Vector<Piece>` | Board.`getValue()` |

    Methods in edu.wisc.game.sql with parameters of type Piece
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Board.`addPiece​(Piece c)` |
    `void` | Board.`removePiece​(Piece c)` |

    Method parameters in edu.wisc.game.sql with type arguments of type Piece
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | Board.`setValue​(Vector<Piece> _value)` |

    Constructors in edu.wisc.game.sql with parameters of type Piece
    Constructor | Description
    --- | ---
    `Board​(Piece[] pieces, Piece[] removedPieces, BitSet[] moveableTo)` | Creates a board object to be sent out (as JSON) to the player's client, based on the current state of the episode.