|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmaterial.MaterialList
public class MaterialList
a list, wich contains all materials along with its name
Constructor Summary | |
---|---|
MaterialList()
|
Method Summary | |
---|---|
void |
add(java.lang.String name,
IMaterial material)
|
IMaterial |
get(java.lang.String name)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MaterialList()
Method Detail |
---|
public void add(java.lang.String name, IMaterial material)
name
- name of the materialmaterial
- the material itselfpublic IMaterial get(java.lang.String name)
name
- the name of the wanted material
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |