Class Brush

java.lang.Object
de.eldoria.schematicbrush.storage.brush.Brush
All Implemented Interfaces:
Comparable<Brush>

public class Brush extends Object implements Comparable<Brush>
Class used for serialization and saving of a BrushBuilderSnapshot/
  • Field Details

    • description

      protected String description
  • Constructor Details

    • Brush

      public Brush(String name, String description, BrushBuilderSnapshot snapshot)
      Constructs a new brush with the given snapshot.
      Parameters:
      name - name of brush
      snapshot - snapshot of brush
    • Brush

      public Brush(String name, BrushBuilder builder)
      Constructs a new brush with the given brush.
      Parameters:
      name - name of brush
      builder - brush builder
    • Brush

      public Brush(String name, BrushBuilderSnapshot snapshot)
      Constructs a new brush with the given brush.
      Parameters:
      name - name of brush
      snapshot - snapshot
  • Method Details