Modifier and Type | Method and Description |
---|---|
int |
extractResource(int quantity)
Extract the specified quantity if possible.
|
int |
getResourceQuantity()
Get the current resource quantity.
|
R |
getResourceType()
Get the resource type that can be extracted.
|
getHeightInTile, getLocationInTileX, getLocationInTileY, getWidthInTile
int extractResource(int quantity)
quantity
- The quantity to extract.int getResourceQuantity()
R getResourceType()
Copyright © 2014 Byron 3D Games Studio. All rights reserved.