Class MapEditorTransformPanel.ResourceTransform

  • Enclosing class:
    MapEditorTransformPanel

    private class MapEditorTransformPanel.ResourceTransform
    extends MapTransform
    Adds, removes or cycles through the available resources for this Tile. Cycles through the ResourceTypeList and picks the next valid, or removes if end of list.
    • Constructor Detail

      • ResourceTransform

        private ResourceTransform()
    • Method Detail

      • transform

        public void transform​(Tile t)
        Applies this transformation to the given tile.
        Specified by:
        transform in class MapTransform
        Parameters:
        t - The Tile to be transformed,