Package worldBuilder

Class LuaWriter.ResourceInfo

  • Enclosing class:
    LuaWriter

    public class LuaWriter.ResourceInfo
    extends java.lang.Object
    for reasons I don't understand, it also needs to now a reference position for each resource (even tho the map shows the 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:
        toString in class java.lang.Object