Property | Type | Description | |
---|---|---|---|
m_fields | List |
||
m_items | List |
Property | Type | Description | |
---|---|---|---|
m_name | String | ||
m_width |
Method | Description | |
---|---|---|
Add ( Item item ) : void | ||
Container ( String name, |
||
FindFreeSpace ( Item item ) : System.Boolean | ||
FindFreeSpace ( Item item, Coordinate &output ) : System.Boolean | ||
NumberFields ( ) : |
||
Remove ( Item item ) : void |
Method | Description | |
---|---|---|
RectangleIsFree ( int rectangleX, int rectangleY, int rectangleWidth, int rectangleHeight ) : System.Boolean | ||
SetItemFields ( Item item, bool value ) : void |
public Container ( String name, |
||
name | String | |
width | ||
height | ||
return | System |
public FindFreeSpace ( Item item ) : System.Boolean | ||
item | Item | |
return | System.Boolean |
public FindFreeSpace ( Item item, Coordinate &output ) : System.Boolean | ||
item | Item | |
output | Coordinate | |
return | System.Boolean |
protected RectangleIsFree ( int rectangleX, int rectangleY, int rectangleWidth, int rectangleHeight ) : System.Boolean | ||
rectangleX | int | |
rectangleY | int | |
rectangleWidth | int | |
rectangleHeight | int | |
return | System.Boolean |
protected SetItemFields ( Item item, bool value ) : void | ||
item | Item | |
value | bool | |
return | void |