public class MappingContent extends Content
Modifier and Type | Field and Description |
---|---|
java.lang.Character |
charId
Character that identifies this content in the level map.
|
java.util.ArrayList<java.lang.String> |
reference
Object(s) this content refers to.
|
identifier, is_definition, line, lineNumber, parameters
Constructor and Description |
---|
MappingContent()
Default constructor.
|
MappingContent(java.lang.String line)
Constructor that extracts the contents from a String line
|
Modifier and Type | Method and Description |
---|---|
void |
decorate(java.util.HashMap<java.lang.String,ParameterContent> pcs)
Takes a ParameterContent object to decorate the current Content object.
|
public java.util.ArrayList<java.lang.String> reference
public java.lang.Character charId
public MappingContent()
public MappingContent(java.lang.String line)
line
- String with the contents in VGDL format, to be mapped to the
data structures of this class.public void decorate(java.util.HashMap<java.lang.String,ParameterContent> pcs)
Content