public class ItemTableWood extends ItemTable
| Modifier and Type | Field and Description |
|---|---|
private double |
basePrice |
| Constructor and Description |
|---|
ItemTableWood(int id,
TypeWood tw,
javax.swing.ImageIcon ii,
int d)
Constructor for the Wood Table.
|
| Modifier and Type | Method and Description |
|---|---|
double |
getPrice() |
getDiameter, getUnits, setDiameterprivate final double basePrice
ItemTableWood(int id,
TypeWood tw,
javax.swing.ImageIcon ii,
int d)
id - Given ID (doesn't have to be unique).tw - Type of wood the item is.ii - Icon of the item.d - Diameter of the item.