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, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
isOwner
public 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.