|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectmap.MapItem
public class MapItem
A Map Item is an item that belongs to a Unit
on the Grid
,
saved with its name.
(e.g. the filename of a mp3 file).
e.g. Map Item 1
Grid
Constructor Summary | |
---|---|
MapItem(java.lang.String name)
Creates a new instance of Map Item |
Method Summary | |
---|---|
java.lang.String |
getName()
Gets the name of the item |
java.lang.String |
getTrimmedName()
Trims the name of the item (e.g. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MapItem(java.lang.String name)
name
- The name of the itemMethod Detail |
---|
public java.lang.String getName()
public java.lang.String getTrimmedName()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |