From 39bf2f38f5814e89edb8461f927c17df5d303f8a Mon Sep 17 00:00:00 2001 From: Philipp3107 Date: Wed, 14 Dec 2022 09:54:18 +0100 Subject: [PATCH] staging changes --- .idea/Robot_Factory_PR.iml | 10 + Main.java | 18 ++ README.md | 6 +- domain/C3PO.java | 10 + domain/R2D2.java | 22 ++ domain/R2D2Test.java | 45 ++- domain/RobotBasics.java | 49 ++-- .../.idea/Robot_Factory_PR.iml | 10 + out/production/Robot_Factory_PR/Main.class | Bin 518 -> 1075 bytes out/production/Robot_Factory_PR/README.md | 274 +++++++++++------- .../Robot_Factory_PR/domain/C3PO.class | Bin 335 -> 1379 bytes .../Robot_Factory_PR/domain/R2D2.class | Bin 335 -> 1884 bytes .../Robot_Factory_PR/domain/R2D2Test.class | Bin 1329 -> 1329 bytes .../Robot_Factory_PR/domain/RobotBasics.class | Bin 1856 -> 2767 bytes .../infrastructure/Persistenz.class | Bin 285 -> 1871 bytes .../robot/exceptions/RobotException.class | Bin 0 -> 373 bytes .../RobotIllegalStateException.class | Bin 0 -> 421 bytes .../exceptions/RobotMagicValueException.class | Bin 0 -> 415 bytes .../robot/interfaces/Robot.class | Bin 0 -> 187 bytes .../robot/interfaces/RobotControl.class | Bin 0 -> 311 bytes .../robot/interfaces/RobotInstructions.class | Bin 0 -> 268 bytes .../interfaces/Sorting.class | Bin 231 -> 213 bytes .../roboter/exceptions/RobotException.class | Bin 377 -> 0 bytes .../RobotIllegalStateException.class | Bin 427 -> 0 bytes .../exceptions/RobotMagicValueException.class | Bin 407 -> 0 bytes .../roboter/interfaces/Robot.class | Bin 193 -> 0 bytes .../roboter/interfaces/RobotControl.class | Bin 248 -> 0 bytes .../interfaces/RobotInstructions.class | Bin 325 -> 0 bytes ui/UI.java | 3 + 29 files changed, 325 insertions(+), 122 deletions(-) create mode 100644 out/production/Robot_Factory_PR/robot/exceptions/RobotException.class create mode 100644 out/production/Robot_Factory_PR/robot/exceptions/RobotIllegalStateException.class create mode 100644 out/production/Robot_Factory_PR/robot/exceptions/RobotMagicValueException.class create mode 100644 out/production/Robot_Factory_PR/robot/interfaces/Robot.class create mode 100644 out/production/Robot_Factory_PR/robot/interfaces/RobotControl.class create mode 100644 out/production/Robot_Factory_PR/robot/interfaces/RobotInstructions.class rename out/production/Robot_Factory_PR/{roboter => robot}/interfaces/Sorting.class (54%) delete mode 100644 out/production/Robot_Factory_PR/roboter/exceptions/RobotException.class delete mode 100644 out/production/Robot_Factory_PR/roboter/exceptions/RobotIllegalStateException.class delete mode 100644 out/production/Robot_Factory_PR/roboter/exceptions/RobotMagicValueException.class delete mode 100644 out/production/Robot_Factory_PR/roboter/interfaces/Robot.class delete mode 100644 out/production/Robot_Factory_PR/roboter/interfaces/RobotControl.class delete mode 100644 out/production/Robot_Factory_PR/roboter/interfaces/RobotInstructions.class diff --git a/.idea/Robot_Factory_PR.iml b/.idea/Robot_Factory_PR.iml index dce5887..7345876 100644 --- a/.idea/Robot_Factory_PR.iml +++ b/.idea/Robot_Factory_PR.iml @@ -23,5 +23,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/Main.java b/Main.java index bc56eb5..236b385 100644 --- a/Main.java +++ b/Main.java @@ -1,11 +1,29 @@ import domain.C3PO; +import domain.R2D2; +import robot.exceptions.RobotException; public class Main { public static void main(String[] args) { C3PO Herbert = new C3PO(0, "Herbert"); + R2D2 Gudrun = new R2D2(0, "Gdurun"); int[] input = {6,5,4,3,2,1}; + int[] input2 = input; + //Herbert.triggerPowerSwitch(); + //Gudrun.triggerPowerSwitch(); + try{ + Herbert.speak(input); + }catch(RobotException re){ + System.out.println(re); + } + + try{ + Gudrun.think(input2); + }catch(RobotException re){ + System.out.println(re); + } + //System.out.println("Was neues ausgeben"); //just some testing /*C3PO Herbert = new C3PO(0, "Herbert"); diff --git a/README.md b/README.md index fee4ff6..d7998ba 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,11 @@ ___ ___ ### Methods: -`--not set yet--` +`existsSavedData():boolean` + +`saveFactoryData():void -> throws` + +`loadFactoryData():Object -> throws` ## robot diff --git a/domain/C3PO.java b/domain/C3PO.java index 3bb12b0..2339858 100644 --- a/domain/C3PO.java +++ b/domain/C3PO.java @@ -1,10 +1,20 @@ package domain; +import robot.exceptions.RobotException; +import robot.interfaces.Sorting; public class C3PO extends RobotBasics { public C3PO(int id, String name){ super(id, name); } + @Override + public int[] think(int[] zahlen) throws RobotException { + return insertionSort.sorting(zahlen); + } + Sorting insertionSort = (int[] input) ->{ + System.out.println("ich sortiere mit insertion-Sort"); + return input; + }; } diff --git a/domain/R2D2.java b/domain/R2D2.java index c810ee3..4554b9b 100644 --- a/domain/R2D2.java +++ b/domain/R2D2.java @@ -1,5 +1,9 @@ package domain; +import robot.exceptions.RobotException; +import robot.exceptions.RobotIllegalStateException; +import robot.interfaces.Sorting; + public class R2D2 extends RobotBasics { /** * Constructor @@ -11,4 +15,22 @@ public class R2D2 extends RobotBasics { } + @Override + public int[] think(int[] zahlen) throws RobotException { + if(isPowerOn() == true){ + return selectionsSort.sorting(zahlen); + + }else{ + throw new RobotIllegalStateException(getName() + " is turned off."); + } + } + + + //Selectionsort... + Sorting selectionsSort = (int[] input) -> { + System.out.println("ich sortiere mit selection-Sort"); + + return input; + }; + } diff --git a/domain/R2D2Test.java b/domain/R2D2Test.java index d7e3136..93b874d 100644 --- a/domain/R2D2Test.java +++ b/domain/R2D2Test.java @@ -1,4 +1,45 @@ -import static org.junit.jupiter.api.Assertions.*; +package domain; + +import org.junit.jupiter.api.Test; +import org.junit.jupiter.api.BeforeEach; + +import static org.junit.jupiter.api.Assertions.assertFalse; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertTrue; + class R2D2Test { - + + R2D2 Herbert; + int id = 0; + String name = "Herbert"; + @BeforeEach + void setup(){ + Herbert = new R2D2(id, name); + } + + + //Tests for basic functions + @Test + void getId() { + assertEquals(id, Herbert.getId()); + } + + @Test + void getName() { + assertEquals(name, Herbert.getName()); + } + + @Test + void triggerPowerSwitch() { + Herbert.triggerPowerSwitch(); + assertTrue(Herbert.isPowerOn()); + } + + @Test + void isPowerOn() { + assertFalse(Herbert.isPowerOn()); + Herbert.triggerPowerSwitch(); + assertTrue(Herbert.isPowerOn()); + } + } \ No newline at end of file diff --git a/domain/RobotBasics.java b/domain/RobotBasics.java index 20d5cf0..1fa9248 100644 --- a/domain/RobotBasics.java +++ b/domain/RobotBasics.java @@ -3,8 +3,8 @@ package domain; import robot.exceptions.RobotException; import robot.exceptions.RobotIllegalStateException; import robot.interfaces.Robot; -import robot.interfaces.RobotControl; -import robot.interfaces.RobotInstructions; + +import java.util.Arrays; public class RobotBasics implements Robot { @@ -18,7 +18,7 @@ public class RobotBasics implements Robot { this.power = false; } /** - * @see RobotControl + * @see robot.interfaces.RobotControl; */ @Override public int getId() { @@ -26,7 +26,7 @@ public class RobotBasics implements Robot { } /** - * @see RobotControl + * @see robot.interfaces.RobotControl; */ @Override public String getName() { @@ -34,7 +34,7 @@ public class RobotBasics implements Robot { } /** - * @see RobotControl + * @see robot.interfaces.RobotControl; */ @Override public void triggerPowerSwitch() { @@ -46,7 +46,7 @@ public class RobotBasics implements Robot { } /** - * @see RobotControl + * @see robot.interfaces.RobotControl; */ @Override public boolean isPowerOn() { @@ -54,30 +54,39 @@ public class RobotBasics implements Robot { } /** - * @see RobotInstructions + * @see robot.interfaces.RobotControl; + */ + @Override + public RobotException getLastException() { + return null; + } + + /** + * @see robot.interfaces.RobotInstructions; + * Maybe method is depractable */ @Override public String speak(int[] zahlen) throws RobotException { - if(power == true){ - String array = ""; - for(int i = 0; i < zahlen.length; i++){ - array += zahlen[i] + " "; - } - return array; + if(isPowerOn() == true){ + final String[] array = {""}; + Arrays.stream(zahlen).forEach(i -> array[0] += i + ", "); + return array[0]; }else{ - throw new RobotIllegalStateException("The Robot is turned off."); + throw new RobotIllegalStateException( name + " is turned off."); } - } /** - * @see RobotInstructions + * @see robot.interfaces.RobotInstructions + * Maybe method is depractable */ @Override public int[] think(int[] zahlen) throws RobotException { - return new int[0]; + if(isPowerOn() == true){ + return zahlen; + }else{ + throw new RobotIllegalStateException(name + " is turned off"); + } + } - - - } diff --git a/out/production/Robot_Factory_PR/.idea/Robot_Factory_PR.iml b/out/production/Robot_Factory_PR/.idea/Robot_Factory_PR.iml index dce5887..7345876 100644 --- a/out/production/Robot_Factory_PR/.idea/Robot_Factory_PR.iml +++ b/out/production/Robot_Factory_PR/.idea/Robot_Factory_PR.iml @@ -23,5 +23,15 @@ + + + + + + + + + + \ No newline at end of file diff --git a/out/production/Robot_Factory_PR/Main.class b/out/production/Robot_Factory_PR/Main.class index 02d59ac53b0b5ea30505962ba61d49e263d31737..ced57d29d426ea446a7e6b72a8fd5883e3843fa8 100644 GIT binary patch literal 1075 zcmaizYflqF6o%hvcRTI2g;Jz|H>}rktridkL-YDc0Os(*Kmb7rEe0JSfyA!)$;{SFXD3_S z+O?{_Kxo!>Y=2H5m>DcdgaxA8Zr!w> z>vPp=__pipXV;bE)xUKFS8+|^dJH#k^Mb;SFZ;e#r!cokojoUf+s&@AR-YAHW_`xM zEuKy&6{i6P?yRL-F6zPt$|9OQLROeQ5(Kl-CHpm zEfErv64L_4hTHV2)@xgdjVL{1s?SJckk3>70w56~j>BAKISbDE&=JHzYkP#F+NKku z9Al^U7=wWb9^w%_Oco>17zunhhAan@kt0M4$LOG$I6`tI5&B`2gNabFtc8nZT^7qB z+EOo;!&-55bXpr8Jw*4ruZU0U-_YN$A7WsnUpvITi@pQaJcVbNM=##sEjBp^p~`%W zIL9!eEGq>A6SSs~U~D&|yRd*HGg8dyZ)KIxhxf>|WG(aKSYU1r;}lvtvnYq0Nphpi zF?a@F0`lZOVI30`{uI+Ze~O$LS{h~N9q#KB&0-##2o(+61@>V&E5zx&lwoN F{9nci*rfmf delta 225 zcmYLDI|{-;6r9~8<|jep-y~|AfOrFYMGqj>A~ur3T)|F6_9S8vQ1AdAN}MEx#m+E0 zAKt?{>(1x diff --git a/out/production/Robot_Factory_PR/README.md b/out/production/Robot_Factory_PR/README.md index dc152df..d7998ba 100644 --- a/out/production/Robot_Factory_PR/README.md +++ b/out/production/Robot_Factory_PR/README.md @@ -17,176 +17,252 @@ # Overview ## Packages -* [Domain](#domain) - * [R2D2](#-klasse-r2d2-) - * [R2D2Test](#-testklasse-r2d2test-) - * [C3P0](#-klasse-c3po-) - * [Robot](#-interface-robot-) - * [RobotControl](#-interface-robotcontrol-) - * [RobotControl](#-interface-robotinstructions-) -* [Facade](#facade) - * [Factrory](#-klasse-factory-) -* [Infrastructure](#infratructure) - * [Persistenz](#-klasse-persistenz-) -* [UI](#ui) +* ### [Domain](#domain-1) + * [R2D2](#-classe-r2d2-) + * [R2D2Test](#-testclasse-r2d2test-) + * [C3P0](#-classe-c3po-) + * [C3POTest](#-testclasse-c3potest-) + * [RobotBasics](#-class-robotbasics-) +* ### [Facade](#facade-1) + * [Factrory](#-classe-factory-) +* ### [Infrastructure](#infratructure-1) + * [Persistenz](#-classe-persistenz-) +* ### [robot](#robot-1) + * ### [exceptions](#exceptions-1) + * [RobotException](#-class-robotexception-) + * [RobotIllegalStateException](#-class-robotillegalstateexception-) + * [RobotMagicValueException](#-class-robotmagicvalueexception-) + * ### [interfaces](#interfaces-1) + * [Robot](#-interface-robot-) + * [RobotControl](#-interface-robotcontroll-) + * [RobotInstructions](#-interface-robotinstructions-) + * [Sorting] vorläufig +* ### [UI](#ui-1) + * [UI](#-class-ui-) ## Sidefiles -* [Main](#-klasse-main-) +* [Main](#-classe-main-) * [makefile](#-makefile-for-Git-updates-) ## Domain -

Klasse R2D2

+

Class R2D2

### Variables: -``` -private int id -private String name -private boolean power -``` +`--not set yet--` ___ ### Methods: -``` -public R2D2():R2D2 -//implemented from interface Robotcontrol -public getId():int -public getName():String -public triggerPowerSWitch():void -public isPowerOn():boolean -``` +`public R2D2():R2D2` -

TestKlasse R2D2Test

+

+TestClass R2D2Test +

### Variables: -``` -public int id -public String name -public R2D2 Herbert -``` -___ + +`public int id` + +`public String name` + +`public R2D2 Herbert` +___ ### Methods: -``` -@BeforeEach -setup():void -@Test -getId():void -getName():void -triggerPowerSwitch():void -iPowerOn():void +`@BeforeEach` +`setup():void` -``` +`@Test` -

Klasse C3PO

+`getId():void` + +`getName():void` + +`triggerPowerSwitch():void` + +`iPowerOn():void` + + + +

+Class C3PO +

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` ---not set yet-- -``` +`//construtor` -

Interface Robot

+`public C3PO(): C3PO` + +

+TestClass C3PO +

+ +### Variables: +`public int id` + +`public String name` + +`public C3PO Herbert` +___ ### Methods: -``` ---not set yet-- -``` +`@BeforeEach` +`setup():void` + +`@Test` + +`getId():void` + +`getName():void` + +`triggerPowerSwitch():void` + +`iPowerOn():void` -

Interface RobotControl

+ +

+Class RobotBasics +

+ + +### Variables: +`private int id` + +`private String name` + +`private boolean power` + +___ ### Methods: -``` ---not set yet-- -``` +`public RobotBasics():RobotBasics` + +`public getId():int` -

Interface RobotInstructions

+`public getName():String` -### Methods: -``` ---not set yet-- -``` +`public triggerPowerSwitch():void` +`public ìsPowerOn():boolean` + +`public speak():String` + +`public think():int[]` ## facade -

Klasse Factory

+

Class Factory

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` ---not set yet-- -``` +`--not set yet--` ## Infrastructure -

Klasse Persistenz

+

Class Persistenz

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` ---not set yet-- -``` +`existsSavedData():boolean` + +`saveFactoryData():void -> throws` + +`loadFactoryData():Object -> throws` + +## robot + +### exceptions + +

+Class RobotException +

+ +#### Methods: +`public RobotException():Exception` + +

Class RobotIllegalStateException

+ +#### Methods: +`public RobotIllegalStateException():RobotException` + +

Class RobotMagicValueException

+ +#### Methods: +`public RobotMagicValueException():RobotException` + +### interfaces + +

+Interface Robot

+ +#### Methods: +`--not set yet--` + + + +

+Interface RobotControl +

+ +### Methods: +`--not set yet--` + +

+Interface RobotInstructions

+ +### Methods: +`--not set yet--` + ## UI -

Klasse UI

+

Class UI

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` ---not set yet-- -``` +`--not set yet--` -

Klasse Main

+ + + +

Class Main

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` ---not set yet-- -``` +`--not set yet--`

makefile for Git updates

### Variables: -``` ---not set yet-- -``` +`--not set yet--` ___ ### Methods: -``` -update_readme: -update_make: -update_all: -``` + +`update_readme:` + +`update_make:` + +`update_all:` + ## Aufgabe diff --git a/out/production/Robot_Factory_PR/domain/C3PO.class b/out/production/Robot_Factory_PR/domain/C3PO.class index 24cc591a12e5aa3e5d31647b5b5277071ef08e13..99b29ad1e5fe7d0ac611b02edf35d9908fea0140 100644 GIT binary patch literal 1379 zcma)6YflqF6g^WOOScP@BFIZ92-=oMQGB39P%221s>Bk$@M&mA7}?G=y9wD zw<$c4tjZvHQtz}W*v1Hw7DgS6;U+_Oo#HGI=~OeYt|F$?MVc}+=XFIebQYx&ulB3k z!rS26E?E*qUFPm4_oP`L8=He&Nn6!kY)~@C5RnxIRv4!d+@R)K;8W!$Wcs#o)NSx?SPpO1vMRC0MCyMoPP+_r0=M zm8STp+2R>f1c|?_b>Igcue}t(uCDl)3b96SLXxv|rFr8>}iB3rDJPzI+X z6=?5}j!(65^`}wL6iz`bp3@POD8?H_;r=3{L$3%N)T1z9IIRY!OV**irXel+j5~8*Y&;8Rp-s}#4(8}%4C>E56y;SiDpwnEb|qy$)D(o;1exFcvA?dNCVp&hMmC1FoP`l zXUW%0^PRYDw4*NrJ5SLj*ZzXu#L#yPXHHSg|In1xhORoY6Gq}5;TZ|;(-^@6Jfzw9 U=E=5%r}XB@Vw2@LR5^)!PxMMuO+ zSG%>TBC$2MN#snFr6V?box1RLdEF*Ss_ZtnUFDwC`@S%yT9Wt}FAsD^ks%_R46H=n zoPg@oFkK91$ku67Re#_uTM%@lMi%2#x<-40cl!wDaTR?7Yn1NEbwAc(ux#F`H+jYp zk22Q?Mmk+hp;>WzUPG))olJa(TKKA_f=FL=UF9o}cQ=G;xlMm!1fQDt3}piw7B;cP zaN*y=Navy37KL&ELKd8^jB>pLx*nau-Cu(R?;C{xcevBEg`X+AZoAhl4s$agdBJe^ zpeqK||NCJGdAjXj1NS|zaoes)C5lPR5i2|TB2_Hh3U*(ZsN$}HFZFe~$B-G~C>%ZE z4O%~9>Bs+{m;T7B4e+>Ce?YUUcv_C5s8KVpwDi-e=Q*O8cK7z^f>|ZU5#E~3eP2)y ze#3BaDASV)Yv4PEh0|53`@=545>XqW3C-xCVN35Qt!diR`z_j4X&9!BWt{e_XCV1inu|R3?E>Qz8XW4wvHi_ ze}Y$HKOvF-6=Tc4V>*Jz&oFb ztd9aKHi?gE5hKBB($wulD;>b~ARxf}1+S;BJV7D0rW*)~3>XO}eZ`> z&cFmz$-uw}gsco~K#~*4^JHKKLIwtQEoq(Y42&CrOeO{{Ajt(*&IMG+!@v#XD?pS1 fdAvX#Py+)W13%CZ5KDkT5U84wK?ulWVh{!Zk8%)5 diff --git a/out/production/Robot_Factory_PR/domain/R2D2Test.class b/out/production/Robot_Factory_PR/domain/R2D2Test.class index e4d0a82485bfd6325324c4040896d7554ed5c270..f678611bff9df93e0659de2b8a4b6f053e4483b9 100644 GIT binary patch delta 87 zcmdnUwUKLs1v4iX0}BH$11AIDWJhLiRzU_~2BFClnS)p*82A_@C)=|qPUd7WWR(T- nky$7`PZTfjlh+X$I}doU9rEVoMCi delta 87 zcmdnUwUKLs1v4in0}BHW11AITWJhLiRsjZK2EoY_nS)rx8Tc3^Cflk!s8MqiUfILkGX$GyyoU9rEU$+dm diff --git a/out/production/Robot_Factory_PR/domain/RobotBasics.class b/out/production/Robot_Factory_PR/domain/RobotBasics.class index d04f6ed6d6b800773bd856fdc7fce2fe2dbb5975..d4faba1e6e4d84a684ef77628dc5efde8c3afaba 100644 GIT binary patch literal 2767 zcmcImU3U{z6x}yTn>3xaX=sa3g#ZPTG&G2U9{~g^rI8enKoN?{O)^b~CNptn!iWFC zcb8AT`QihvWku^!-(CJDm;264(`lQ9zW6Y6=bn2$_Bm(Yd*{!;H-86k5zmu|AR0$Z z!vF>aQjg^mS!_wOS-e?$tk+$E!SjY`xEBSY+1&CF5*UgjsbLtJK)PYIrC}CtTQ$qQ zA|0dd2t>jFsP5Dv$Y(QpJux3s#h(JEfHZTXzw1|8SdWm_PV zT`A{$Jf4CtFP2T04yjQ}vp_Q%j^hNaWWBC;Sd6pTmAyHH-K=)ax@%abax`z5PPeVw zrD0@|izBaL76pNWUKRRA6^O4|_ElM56F8O)!RzZcw;acuz^tvxU(}x|jEwF0{V2Cu zdQ-Nlu5|UQTWe_uoYwFr&Is&p%XOU~>(aevxN8coD@~VGIuV5Sh~O8v6l56|C2wl?K`s8@~CIkWoud5hMEV$n7d{$+lk6v8Z-JpQ+LaxGI?KSUpTwr zv3MferxYYN3Egb!wnx_LQ^Qp~9AWkA>r1i|L`>03MLKS;AF9o{O8*A-loS}Jqsw)b zd5^Z?a#2Alh70WLLr@aw2-`VW5R1J6y|V`orz;?5{A}0wX`bqBI*V-I=La)_S*7 z+RLVpWQXCM=N&z){@)kLhrUHDz&hbwsXexC=E~OTxh8 zIM&rJYYEKkDV4v8{ms6xRjjZ7|MCQfN0^lU#j@i(*_~yQB&5#)t_~$Ovd<)70(xmUJAQ%@;yZh z&`*q>hA@s%q%$G^dFKE@QkL!y^z)I*YH zl0Xi;6A8b-B<4bnCj(U1s1rkEEJkGf73hO+e0OqZLv99o$t|KB7#BFI%0$HO%r1m1 zBR$KHaGe>c%)TNN)x&f7pD-Ew7Ma*@IB-9jo~|y<{){&Yn>Ysif|C&xqGw+Gic|Ml zf{{&@6EE@BAGGvS_q)764qan^7s;kF|1qw6(N&jK&nsABRK^N$sIMEiN#v>|QHbNX z#Sc}NkNH$_Cjj|~i^_01068!lLUL{wl2IyyrU`Z}iF+P`Dc`&ocY0^s^@*dFk3Kvzy@_{#>Nc@`-Ytd#XkLmm;O4ouv9CdG9aaP$x;Lizj%71OEW0k9#%% delta 967 zcmZuvOHUI~6#nkalqsc9ptPkxu@xwfw$ukGK2V+tN(CR$sH+hMsMIM=2VaTl#B6F10+7aX+e{QOzxa}zjMCxopbK}7Wh=>`SN>X3&1JN zJ@Y(Ixe*jVBY|cw!e|i)-O*O`@w_pwS=X}GGIs?_GpvF@w;hxG_ERZX(*z0n~l*kIWG}F``3RFGPmUBA2(#>fV#{}wcYxlHtPBWI$mn}1E zED3lfAI$5kR+jauI4Ka@RR}04`>rxjH}1g%CRLnq8a-?OaD8r@rk)T{0q?Y7=;nA% zD-?9nX9T+JQCFyGN;4L6dZBYBpI=#9RdGR}-Er7SHQc=)G9=W%%jrq*p}u7OXrfiY z>e0!6mz`6)5^-WdB4C`t$Z9m8j&t|(>n0jyE|A%SUVBpw7yFQKxWv-5ydt>z-a&oC zjRYrIRS682$lh{*L#9U{i4^~pzmr;G*;n0h5w{<^Lq(^+vPNJ>BTYns zEILwBeQeSZb3T>KwHYhI;Z46}OQ<22h%Od>AM5KQMAt3Wa z7O(&OOs;=G>-EOSd+hs2j$9f^JEsl|!_CKCgVUVs2qLr{7^A{ONxzR8wY-S|HY78u z1%tc|$4W^M2)@}Nv5mks(c?s&woh;kQ>k425Km4PMc(vO&N)+3 n4wn7@RFoZ+|M_Ir>Rj&#Mrqy5IL0*v-#H#V+@41Uvk3nMA!&$s diff --git a/out/production/Robot_Factory_PR/infrastructure/Persistenz.class b/out/production/Robot_Factory_PR/infrastructure/Persistenz.class index f090dbc6ca3324cb5708ee1590a0f5f42f0af497..b173611bc4cd7b87b7d68ff9a52943ccc1205f33 100644 GIT binary patch literal 1871 zcmai#?NZxD6o%i$fLupFFm@71nm~aB1I2CAZ>MRA2??zUY3w>RX{WQ;+aM5 zp)A_cd0yPw*;CCxVEB&ZSixO^)Iynj6uOwdJ%3^$wv=}oq>tJb6mWd`#abQT2-y2z4x zpb4`u?<|&0ypI)u3_H;3V&)c-osT(n$Qc7463lXb^`swooo3MSRPnL$e70FRzjNo; zSIf1nCyig$R%@#Q+5R0A80l_%UD_R$#;0u4x@-on_j1Kop1@$)Z7G4Vish(Bor4|a z)#Q#%Nw(rPrCpbvrN3k0V6ba(i?7o94Ok_{iYB2d4^?YT2J#Klv(4m=JkZH~n#NR- z!>#1F#ZBoiuTU2-V!yNX$1WU3*Cp?@$XAa~c#h5t5jW)ii>7J^7Eg$Q2Lcn}c8BNg zR6|PJm8~$d!{ zVLZ;@dpt2v)hE6tFxTU@oI`hC6{Eu)T>__#`Xkxg*f0wEP&zGJ`EwQ5-S4zZ{T)w8 z&N$Xyw$(Z2&l2`=Gm_IDhbT+iuJYuT(%^=gA_k4-)7)?z<&|ye`-;2M5SZ_)@;rD0 z&jhZ&-ISMBR4Hcg0k2+wmli(4ZLS~lYXF~Mkng;V`TUHMB3Hq6Xz>{0@6hCPKDC-c ze8Hy~zki7mzuv(ed_{?NE+G}_#!p~07GF_^V~iZ(;-6Fwpcg2e2sF=Z{%g|(bjIh8_UYBEGis>i}R&kGd z1`Lz&ydr}#)|l=-rMd;{q*Hu)$n|3&Ypu!tbb z$P*;UkszNSn2w9gbB@2ocg#1%o@%NjK?;>H-X~= delta 139 zcmX@lHfQ-fFbXzuT*S4yLSn%II22+W zKv1#3mPVdWZ=Of*?fvByz!ZZ70Xi|l6dQ;L!#nXPvRddWn?05C!6~B&(L`zGri8u2 z{6{c%R_SVdw209q99UBrm&xy`CcE^=PtnR2PRKg_5c6? literal 0 HcmV?d00001 diff --git a/out/production/Robot_Factory_PR/robot/exceptions/RobotIllegalStateException.class b/out/production/Robot_Factory_PR/robot/exceptions/RobotIllegalStateException.class new file mode 100644 index 0000000000000000000000000000000000000000..c615c5be8095a2118888bd34e6502df412269278 GIT binary patch literal 421 zcmb7A!Ait16r5LUtF^kipx4Elx@bROWiO&26c1MRp4Lz!*+kN;_*xc-4)|95p>cO#;!$Lc&~>)xtkU&#T*TNQj90r{idt2LXnOg}FFZH5k}$}XmRJ3as}%uIlUtIHUybIL7#?SH9|Vw(||-NC?n4H*U4{R9bHY6JiP literal 0 HcmV?d00001 diff --git a/out/production/Robot_Factory_PR/robot/interfaces/Robot.class b/out/production/Robot_Factory_PR/robot/interfaces/Robot.class new file mode 100644 index 0000000000000000000000000000000000000000..3b56f204fed77635768c386c7df68d7db182ff48 GIT binary patch literal 187 zcmX^0Z`VEs1_nC@ZgvJHMh3B>{G|L6{mi_Q)S|S+DE*1@O;av>A%CSS}uhokxD&2TXh+Ob>@t4EEi)q-1rTLa$}=@NVB(uuB{V0cZpew zoot(_I$pkNeu~!1$BC@{&dI;zPtHG)xb#Z@95i3qN|Frz*Enr5bqHc1)qzY}W$2)3 Ymt!|!7rlgg*iU$XLs1frR literal 0 HcmV?d00001 diff --git a/out/production/Robot_Factory_PR/robot/interfaces/RobotInstructions.class b/out/production/Robot_Factory_PR/robot/interfaces/RobotInstructions.class new file mode 100644 index 0000000000000000000000000000000000000000..ab7d6de015d489474a85c4ff5cc05b7ae258f28e GIT binary patch literal 268 zcmZXPO$x#=5QSgVwpxF1wK2h3ByX8W75@Kx%E96|| ml8pYMjZ4>%fuTx20ToIbAf!2>sYbO3x(it>~4OD2k&va@MKdum2|PE2kA0Q{&6pa1{> delta 58 zcmcc0_?%Jv)W2Q(7#JAr7`WLPm>3zPit>~4OHzv_ikgaxX+(Q!`eY@RCFfQ-fFbXzuT*S4yLSn%II22+W zKv1#3mPVdWZ=Of*?fvByz!ZZ70Xi|l6dQ;L!#nXPvRddWn?05C!6~B&(L`zGri8u2 z{6{c%R_SVdw209qjI1e)lQxszb4_;T(J!Cy%-l#qFIQS#F7FFzuSHQa8RVuE^+H(X z`!5)}Th$N_@_(Jjgj8B4F=Dp18+w%*6DTWy$ETxEZEF%#ZIa^y#uAqm8?!2<5D=q_d`h^9Oi89Jh z1-AFfTX`=FElpcg-YL_L_h%_q1djglIoFz6sVgr%ee;Y@>@^7tN@eI`F|Wy8$yzfr zENvt8Oga_tCmH)2)d>{kzov`@a&pePIdz?Ed-EUr3uKjDxQ5PD7{A+p{@10CLoY^1 zIl*uQU(S&0Y9DRX^U1;C6T~Ak5i+hJZ?G;X*Z8&bp+b&zMqqXWgWhYCQG~5`lm2fk diff --git a/out/production/Robot_Factory_PR/roboter/exceptions/RobotMagicValueException.class b/out/production/Robot_Factory_PR/roboter/exceptions/RobotMagicValueException.class deleted file mode 100644 index bf585d7dd32eef2c6bea84a5ddaeeb99a5aaa42c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 407 zcmb7AK}y6x5Uh?d(HPxzMQu=Bs(LMiTEu~f(IYqqr{%5 zD2NAVpy?{AtDAa#dwu~h#VA35r5Is~WkiInTX8S4M(8@5Jyi0}DWeI|iPFkV3ETVm zw_xt9()Hw^h_ON#TT>b*Z6?3w+U(L(=b~0sA(~G9a12k)wImF3rR7DpD5bp;Wy8!U zH&>BVtW(Fn(Rt9#Ua~Xgy;pK+KA=)BNR=WXK#jzqHz&BRQLrV)z`ymt2lS&V7GLOP zXLd9@n*IIzxd3>>Bt=AccDAx!x?CHcU!s<6{&ABQ)_7-|6fxm(FHRzFgi-mr+RNG# zx=Q+DN9fG6f{^mI5(i0`&9mj*U3#aDdL=wDQA)avJxf=fwXeU!?UvBjZBW-HD4&Eu tX^*a!@4Df@>Hjt_x9EhxPW}Oixm*_s6YhXsz&-{6hZwPgFyL)9 zKpkxBe*fqHJMRxazX0BlCWr_VU#+UZJ~K}CwbEQ?i$=;_9sEuQQ@J`pmymAMm&&Yi zWj0@JSO-F{-m>~6JUlM*r`g|q5xjBbD`D{dt$BNXIU< P`?J=SvoCAdxG_2c?+;gm diff --git a/ui/UI.java b/ui/UI.java index 43c73a3..5504904 100644 --- a/ui/UI.java +++ b/ui/UI.java @@ -1,4 +1,7 @@ package ui; public class UI { + + + }