public class Transaction
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private CatanColor |
color |
private HexType |
hexType |
private PieceType |
pieceType |
Constructor and Description |
---|
Transaction(HexType hexType,
PieceType pieceType,
CatanColor color)
Creates a transaction object.
|
Modifier and Type | Method and Description |
---|---|
CatanColor |
getColor() |
HexType |
getHexType() |
PieceType |
getPieceType() |
private HexType hexType
private PieceType pieceType
private CatanColor color
public Transaction(HexType hexType, PieceType pieceType, CatanColor color)
hexType
- The hex type.pieceType
- The piece type.color
- The color of the piece.public HexType getHexType()
public PieceType getPieceType()
public CatanColor getColor()