public class ItemDesk extends Furniture
| Modifier and Type | Field and Description |
|---|---|
private int |
depth |
private int |
draws |
private int |
height |
private int |
width |
| Constructor and Description |
|---|
ItemDesk(int idl,
TypeWood tw,
javax.swing.ImageIcon ic,
int drawcount,
int widthcount,
int depthcount) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth() |
int |
getDraws() |
int |
getHeight() |
double |
getPrice() |
int |
getUnits()
Does nothing.
|
int |
getWidth() |
boolean |
setDepth(int d) |
boolean |
setDraws(int d) |
boolean |
setWidth(int w) |
private final int height
private int depth
private int width
private int draws
ItemDesk(int idl,
TypeWood tw,
javax.swing.ImageIcon ic,
int drawcount,
int widthcount,
int depthcount)
idl - ID of the item.tw - Wood Type of the item.ic - Icon of the item.drawcount - Amount of drawswidthcount - Width of the desk.depthcount - Depth of the desk.