Class Piece.Shape

    • Method Detail

      • listAllShapes

        public Collection<Piece.Shape> listAllShapes()
        Lists all shapes known to the system so far
      • findShape

        public static Piece.Shape findShape​(String s)
        Finds an already existing Shape object with a specified name, or creates a new one
      • symbol

        public String symbol()
        A human-readable representation of the shape, for use in ASCII graphics