public class PlayerResource extends Resource<Identification>
| Modifier and Type | Field and Description |
|---|---|
static String |
RESOURCE_ID |
| Constructor and Description |
|---|
PlayerResource(Identification consumer)
creates a new Resource.
|
PlayerResource(Identification consumer,
Identification identification)
creates a new Resource.
|
getConsumer, getID, getProvider, getResource, getResourceID, hasProvider, setConsumer, setProvider, setResource, toList, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisOwnerpublic static final String RESOURCE_ID
public PlayerResource(Identification consumer)
consumer - the Provider of the Resourcepublic PlayerResource(Identification consumer, Identification identification)
consumer - the consumer of the Resourceidentification - the resourceCopyright © 2016. All rights reserved.