diff --git a/src/main/java/com/songoda/skyblock/scoreboard/wip/Board.java b/src/main/java/com/songoda/skyblock/scoreboard/wip/Board.java new file mode 100644 index 00000000..59a8c178 --- /dev/null +++ b/src/main/java/com/songoda/skyblock/scoreboard/wip/Board.java @@ -0,0 +1,4 @@ +package com.songoda.skyblock.scoreboard.wip; + +public class Board { +} diff --git a/src/main/java/com/songoda/skyblock/scoreboard/wip/Driver.java b/src/main/java/com/songoda/skyblock/scoreboard/wip/Driver.java new file mode 100644 index 00000000..bc52b8f8 --- /dev/null +++ b/src/main/java/com/songoda/skyblock/scoreboard/wip/Driver.java @@ -0,0 +1,16 @@ +package com.songoda.skyblock.scoreboard.wip; + +import org.bukkit.scheduler.BukkitRunnable; + +public class Driver extends BukkitRunnable { + public Driver(String board) { + } + + @Override + public void run() { + + } + + public void setDefault(boolean isDefault) { + } +} diff --git a/src/main/java/com/songoda/skyblock/scoreboard/wip/Manager.java b/src/main/java/com/songoda/skyblock/scoreboard/wip/Manager.java new file mode 100644 index 00000000..91054545 --- /dev/null +++ b/src/main/java/com/songoda/skyblock/scoreboard/wip/Manager.java @@ -0,0 +1,24 @@ +package com.songoda.skyblock.scoreboard.wip; + +import com.songoda.skyblock.SkyBlock; + +import java.util.Map; + +public class Manager { + + Map drivers; + + public void newDriver(String board, boolean isDefault) { + Driver driver = new Driver(board); + driver.runTaskTimerAsynchronously(SkyBlock.getInstance(), 1L, 1L); + drivers.put(board, driver); + driver.setDefault(isDefault); + } + + public void clearDrivers() + { + for(Driver driver : drivers.values()) + driver.cancel(); + drivers.clear(); + } +} diff --git a/src/main/java/com/songoda/skyblock/scoreboard/wip/Row.java b/src/main/java/com/songoda/skyblock/scoreboard/wip/Row.java new file mode 100644 index 00000000..1a430b8c --- /dev/null +++ b/src/main/java/com/songoda/skyblock/scoreboard/wip/Row.java @@ -0,0 +1,4 @@ +package com.songoda.skyblock.scoreboard.wip; + +public class Row { +}