|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.engine.data.GameDataComponent
games.strategy.engine.data.ResourceList
public class ResourceList
| Constructor Summary | |
|---|---|
ResourceList(GameData data)
|
|
| Method Summary | |
|---|---|
protected void |
addResource(Resource resource)
|
Resource |
getResource(java.lang.String name)
|
java.util.List<Resource> |
getResources()
|
int |
size()
|
| Methods inherited from class games.strategy.engine.data.GameDataComponent |
|---|
getData, readInternal, writeInternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceList(GameData data)
| Method Detail |
|---|
protected void addResource(Resource resource)
public int size()
public Resource getResource(java.lang.String name)
public java.util.List<Resource> getResources()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||