Package worldBuilder
Class LuaWriter.ResourceInfo
- java.lang.Object
-
- worldBuilder.LuaWriter.ResourceInfo
-
- Enclosing class:
- LuaWriter
public class LuaWriter.ResourceInfo extends java.lang.Objectfor reasons I don't understand, it also needs to now a reference position for each resource (even tho the map shows the position)
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringnameLuaWriter.Positionposition
-
Constructor Summary
Constructors Constructor Description ResourceInfo(java.lang.String name, LuaWriter.Position position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringtoString()java.lang.StringtoString(java.lang.String indent)
-
-
-
Field Detail
-
name
public java.lang.String name
-
position
public LuaWriter.Position position
-
-
Constructor Detail
-
ResourceInfo
public ResourceInfo(java.lang.String name, LuaWriter.Position position)
-
-
Method Detail
-
toString
public java.lang.String toString(java.lang.String indent)
- Parameters:
indent- (before each line) Note: last line will not have a newline, as a comma may be needed- Returns:
- SpawnList declaration for this resource
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-