From 1c5391422ac43c59c08d8d358d5e066ded6653e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Mon, 28 Mar 2016 22:56:21 +0200 Subject: [PATCH] added tabulation modding methods to Menu --- cicaprojekt/Menu.java | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cicaprojekt/Menu.java b/cicaprojekt/Menu.java index 8ef8c65..0a6f5e8 100644 --- a/cicaprojekt/Menu.java +++ b/cicaprojekt/Menu.java @@ -4,6 +4,17 @@ import java.io.IOException; public class Menu { public static String tabulator = "\t"; + + public static void addTab() + { + tabulator += '\t'; + } + + public static void removeTab() + { + tabulator = tabulator.substring(0, tabulator.length()-1); + } + public static void main (String[] args) throws IOException{ System.out.println("Continuously Integrated Cica Projekt - Skeleton"); System.out.println("Üdvözöllek a Babylon Simulator 2000 játékban! Kérlek válassz egy menüpontot!");