From a7f2cf8c1c9851178167b3a4ab47cc6e07585785 Mon Sep 17 00:00:00 2001 From: MinusKube Date: Wed, 10 Jun 2020 03:03:29 +0200 Subject: [PATCH] Update README.md --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index d35d625..c1adbfa 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,16 @@ When you have your board, you can do whatever you want with it: // If there is already a line with this score, it will replace it. board.set("Test Score", 5); +// Set all the lines +// This will remove all the existing lines then set the new ones +board.setAll( + "First Line", + "Second Line", + "Third Line", + "Fourth Line", + "Fifth Line" +); + // Get a line from its score board.get(5); @@ -47,6 +57,9 @@ board.remove(5); // Change the name of the board board.setName("My New Scoreboard"); +// Clear the board +board.clear(); + // Delete the board board.delete(); ```