From 11a6cbcca83a37bce7b6686a65f99d0af930c299 Mon Sep 17 00:00:00 2001 From: peet Date: Mon, 10 Jun 2024 00:31:44 +0200 Subject: [PATCH] initial commit --- .vscode/settings.json | 7 +++ README.md | 18 ++++++++ bin/Main.class | Bin 0 -> 516 bytes bin/Spieler/FieldPlayer.class | Bin 0 -> 2078 bytes bin/Spieler/Goalkeeper.class | Bin 0 -> 1158 bytes bin/Spieler/Mannschaft.class | Bin 0 -> 271 bytes bin/Spieler/Player.class | Bin 0 -> 1069 bytes bin/Spieler/Position.class | Bin 0 -> 1057 bytes bin/Spieler/TestPlayer.class | Bin 0 -> 1669 bytes bin/Stadion/Empty.class | Bin 0 -> 588 bytes bin/Stadion/Full.class | Bin 0 -> 582 bytes bin/Stadion/Stadion.class | Bin 0 -> 496 bytes bin/Stadion/StadionState.class | Bin 0 -> 400 bytes bin/Stadion/TestStadion.class | Bin 0 -> 534 bytes bin/Trainingsplatz/Belegt.class | Bin 0 -> 708 bytes bin/Trainingsplatz/Frei.class | Bin 0 -> 704 bytes bin/Trainingsplatz/State.class | Bin 0 -> 151 bytes bin/Trainingsplatz/Trainingsplatz.class | Bin 0 -> 764 bytes bin/Verein/Mannschaft.class | Bin 0 -> 269 bytes src/Main.java | 5 +++ src/Spieler/FieldPlayer.java | 57 ++++++++++++++++++++++++ src/Spieler/Goalkeeper.java | 36 +++++++++++++++ src/Spieler/Mannschaft.java | 8 ++++ src/Spieler/Player.java | 22 +++++++++ src/Spieler/Position.java | 9 ++++ src/Spieler/TestPlayer.java | 45 +++++++++++++++++++ src/Stadion/Empty.java | 16 +++++++ src/Stadion/Full.java | 15 +++++++ src/Stadion/Stadion.java | 12 +++++ src/Stadion/StadionState.java | 13 ++++++ src/Stadion/TestStadion.java | 17 +++++++ src/Trainingsplatz/Belegt.java | 21 +++++++++ src/Trainingsplatz/Frei.java | 20 +++++++++ src/Trainingsplatz/State.java | 10 +++++ src/Trainingsplatz/Trainingsplatz.java | 22 +++++++++ src/Verein/Mannschaft.java | 7 +++ 36 files changed, 360 insertions(+) create mode 100644 .vscode/settings.json create mode 100644 README.md create mode 100644 bin/Main.class create mode 100644 bin/Spieler/FieldPlayer.class create mode 100644 bin/Spieler/Goalkeeper.class create mode 100644 bin/Spieler/Mannschaft.class create mode 100644 bin/Spieler/Player.class create mode 100644 bin/Spieler/Position.class create mode 100644 bin/Spieler/TestPlayer.class create mode 100644 bin/Stadion/Empty.class create mode 100644 bin/Stadion/Full.class create mode 100644 bin/Stadion/Stadion.class create mode 100644 bin/Stadion/StadionState.class create mode 100644 bin/Stadion/TestStadion.class create mode 100644 bin/Trainingsplatz/Belegt.class create mode 100644 bin/Trainingsplatz/Frei.class create mode 100644 bin/Trainingsplatz/State.class create mode 100644 bin/Trainingsplatz/Trainingsplatz.class create mode 100644 bin/Verein/Mannschaft.class create mode 100644 src/Main.java create mode 100644 src/Spieler/FieldPlayer.java create mode 100644 src/Spieler/Goalkeeper.java create mode 100644 src/Spieler/Mannschaft.java create mode 100644 src/Spieler/Player.java create mode 100644 src/Spieler/Position.java create mode 100644 src/Spieler/TestPlayer.java create mode 100644 src/Stadion/Empty.java create mode 100644 src/Stadion/Full.java create mode 100644 src/Stadion/Stadion.java create mode 100644 src/Stadion/StadionState.java create mode 100644 src/Stadion/TestStadion.java create mode 100644 src/Trainingsplatz/Belegt.java create mode 100644 src/Trainingsplatz/Frei.java create mode 100644 src/Trainingsplatz/State.java create mode 100644 src/Trainingsplatz/Trainingsplatz.java create mode 100644 src/Verein/Mannschaft.java diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e112a70 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,7 @@ +{ + "java.project.sourcePaths": ["src"], + "java.project.outputPath": "bin", + "java.project.referencedLibraries": [ + "lib/**/*.jar" + ] +} diff --git a/README.md b/README.md new file mode 100644 index 0000000..7c03a53 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +## Getting Started + +Welcome to the VS Code Java world. Here is a guideline to help you get started to write Java code in Visual Studio Code. + +## Folder Structure + +The workspace contains two folders by default, where: + +- `src`: the folder to maintain sources +- `lib`: the folder to maintain dependencies + +Meanwhile, the compiled output files will be generated in the `bin` folder by default. + +> If you want to customize the folder structure, open `.vscode/settings.json` and update the related settings there. + +## Dependency Management + +The `JAVA PROJECTS` view allows you to manage your dependencies. More details can be found [here](https://github.com/microsoft/vscode-java-dependency#manage-dependencies). diff --git a/bin/Main.class b/bin/Main.class new file mode 100644 index 0000000000000000000000000000000000000000..0733ac42bec3803da2cf93d33bd7167716a81f0e GIT binary patch literal 516 zcmZut$xZ@65Pi)y%s2{y;I7~aJUB-W7!zY+Jd8_%;o_-*4mO#^41>nc(t{=*`~W}7 z_y$anghN+#RrOoCzJETy0G#2#KuREUC3RpRBTyX5C+T=H7&tfGq3Xo~xf31e_*5X> zXm(?!8V%xx$KzX7z53sR=T>;}U;qd6H(pY4Qre!qXC&~*v3s~)N9QD+NPIh1> z-#kjRPzT*|+dzsp?u^l3 crRqC2W&{>Tpkf}Ge+in|G6kW%$J&rrM;KWJO*4S>6HkqVJ%e9bDNKHZ#=LU{~fTt7t)R}rbW6d0= zgl9ei3Dhs(0VJ%VBEbVvANo1{0AQb)!7=s-OEYJmJ$voF_RTNI6hJkgM4xOvHX$FfA7TN`e@-4wRm{JJVyih2su47;1A zE!;wlo{-iP;Yv|3Jz2P0An$I$CbTrqgUbOG#s6pt;jR?^{MIHDQK)gRn8qY#6pw2R z*@!e2Plmy8Lq`HhCB3dg$B2>&Iy9t|bW_K0AkFDW2huGaSCC>D+asz6?dGX)kNK(P z_r|Gm>x8?ex`)cRJTpCF(5+fer>W8-70IiOectlTHQZqszpPczVGXOK?QawHvo546 z0K??M;$WW`u8_e|x6{g~-w83$$*6oeKh!dsAf^2Ba)^|pa(9l>bUW^jl5_%=X)I$+ z$2vYBX6M{$i$fZ}TfLP(Jbf&xaxH>uhIZmZ9UozXVY59{Kt76Mk%^L6N!-}dnsUA9x^rXvM`$C>MH7|`VY-{+0VeYag zrhV=-M7Vqb%`IM)j(ef_Q|-R%Wf@ur4!5~ovxGOd=QxdaYi*EYkLEwXw~aL6z}kZ2Tj4WH7&{J$xM3Gzgd zHfe|&oJ3458%Z&>VE#$#<)5@%{z& zB}G2wODav3dRhICkZ&caR1?0Wl1*ZXR7o6({=Oe*y;q3@;{>Q$^vytF;BEiLe@a;(O zyOH48ey|YB{hJvx)CFf=A(=AQX0gmt)X8r-2ptV8( literal 0 HcmV?d00001 diff --git a/bin/Spieler/Goalkeeper.class b/bin/Spieler/Goalkeeper.class new file mode 100644 index 0000000000000000000000000000000000000000..0fab918d8173a4fb77232209df011bb4a104ea13 GIT binary patch literal 1158 zcmZuvT~8B16g|@q7M3l=T0p?+QbF5orGB6<8WUnFX{gvxLgM34hO)BVZHBGl5Aw|i zzZw!v^xYq&-kG-4l)miTxqHt&_uMnT|9t-mU=xoGL>N-_wktd#OIrc=PK0O+X&}Zh zGsxFG{$5Cin9o~+>Z@<~TVC?G-z?Qb>H5tl43q8P)D7LhSN|`7{T%%_q&V`#8NpeF zVd^xL{7CXni(%ra>$~AIhJ5aFcCZd?NVBrcwG?(9>0>f1caZIRa z&cYN-6)jkpR?#As4J9h`n+~WtH-hR;F-aePEy7!Z@@Yp?NNMEdLNJzU+)I;7ldCA+l+CY(3FqGD_ zkQ{1?a7P=Q&gCyV!7xn)14YC|MWcHpE|ZFO2Ue3QWVS^qA{qE?)`O00h!?I>lN=7Z zu13NN`4y$d8AC)FNl`>?LZ4)(KFLfv<5X!OLEjm=eI-t zQ6Psr-H1$&$aJKJjOa*>sU#HCtD~L{#c8m=)GBU(87LT7WD3P_7wdfiB|23u?tDY) z69o}H+JsInXnLzx(5Gi8;T~m_`v1YJqu`~n;QM$m2Auvl!kifkemE99KMJcSjA5e8va8C^u&cVcTg#Lf_-_i`n;@Bki4rdk9S zZeG=|qU!(K{c;8HjkXJm(24$(%w-w;3a$4^DmIl1o6ye0Q3Scr+h7rAGN}mliPEZ? z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30N#q2@2DUid-Wf+ CyVFYm literal 0 HcmV?d00001 diff --git a/bin/Spieler/TestPlayer.class b/bin/Spieler/TestPlayer.class new file mode 100644 index 0000000000000000000000000000000000000000..df3041e0c8e5236086087ab2653460c096136ef4 GIT binary patch literal 1669 zcmeH{O>Yx15QfKTK9@q;kkUd0xVIEVb%(JyM^k|! zgSAsJ5uI45QRmh06hp_L{75S49y3^J?H)5IKG6{dumZJJC_$M)y)PBM%#tCRBQcDT z;C&s6_*fX}^T?QMWLE-Qj6&2;>_`(=$zs{7C3BFJhX(iDPl+sQ( zsTIM>eV^5>K!eJdSKc#5n<_L}q4Y)>v^t((#6z8=GM+BwsnNtr>^=`_9>GK5xqOIx zmhUtd+?}ULDP!aby0MP9uojK$z0X8!TLWjL8nt=uce%7YQxTrffkga78}4YKNAUSE z|C)BFt@Imf^BB}(PmoXkJY31A&=d9`km&|3YuQ1W~0dRaGf0Y29veutQnmPr;> zxWicXUqgRELku=Yv%Bb>g_!!M;V*^y3!bIanlPHp+bY~+@bvdLwcKN85Dau?Lh41n zm(}Ml_n{XK>;QE_>ZAZg8c_!%TcM~!o{=v-xPa;h8WbQP>pue}TqC=hCy>8R5rZ4_ zwE*?YthH$#z#ifKn&1H{U8U8o(1IClYYE!z1+=Y&wCyEmcNfrF3u*VK HJK)~|($w0$ literal 0 HcmV?d00001 diff --git a/bin/Stadion/Empty.class b/bin/Stadion/Empty.class new file mode 100644 index 0000000000000000000000000000000000000000..bfd6f708de5ea3d5739adc69553c7790b803ca74 GIT binary patch literal 588 zcmZWl+e!ja6kS^P}iki0mZ^#gcCbgw>3C7R~+==X4YBVEseeom~0_SWb%{xYT^Da2oIqM?D z2gtPAOJv{pm4d;y5mt5HS{8ZEYY_`33Y;-t&BPjn9h73N9yERdmDW4TU#Q-zxJ2y( qdz->0$}FUW&8Q_7CLFKi+KehWS~n}#;D6VRywlJT;e?SCPX7S!rfY2g literal 0 HcmV?d00001 diff --git a/bin/Stadion/Full.class b/bin/Stadion/Full.class new file mode 100644 index 0000000000000000000000000000000000000000..1669bfbd438ac4068b6b7fd8c17f0a13bd98f82c GIT binary patch literal 582 zcmZXQ-A=+l5QWc{%FW$!RC@JPwm#eNjmw1tl4>XYRyRZPM%A zrHkoz37lEtuq-d&pH)JTLP;I2e zz{9yQhH@$;_mY|yQ8<;sqloSlL#7@(@T3eZkV6MWlsGmR3Ja@O<0tiOqYBGL4Lcm$ zRhRMA7%{>>T-@xXS^kAk7>xOy~8yFPgkQ-LFLkf9ADK4}${bIRH< z=mD~g<_x(P`Z8eCX~$JgOUofo`Nq5p4hob}zaEAd467(7tR~f&et$9g8W2DuoVl1F lXz}Tf=P+Zf(s)JX1Jzp{XV`qh)-tO22UST?`-C@e@B>YeYD)kB literal 0 HcmV?d00001 diff --git a/bin/Stadion/Stadion.class b/bin/Stadion/Stadion.class new file mode 100644 index 0000000000000000000000000000000000000000..2814de5e90e0e7e66039b1c0544b26579d143122 GIT binary patch literal 496 zcmZWlO;5r=5Pj2@7HatvtLVua)I{!LObpReqX!I$#|1XJ1X@!T6MvQmW1@*az#nCt zes~Zrvoo{ry?Ha=KObKJE^*|*Ak;@%%v2opi`RigXw1d4=r2U{(7&C`mzUl7c0Z%nX;@l3ifvE#u(*+G?1{i9wjpY)3h5B2o3L1=e3We2@+ z1%#G|5^S~^sz~0fmlK)XiOGVEw8D5Q7Gsg9v@V*KepD+$b4!g-UP+yKC3Lo?50Iy-}so3+_4lcRNoB&Rw;VK5PsFcnApgY@QB4I1X?CmoQ3HDIePROx8~#DWIgEZlufSk2(7!Q-)^v z&*(NoDYe`Rw~jCjyLS_1Wg@QCRHl+39i=o0Xk}s)LZ@qcsMGYt!k5Nqvx0Soi+g26 zs^h5`29Zw2GM=>tW21?coCJQ+5rT+2Y%mbPpWNzz2lja^d>=JzxIb>v*8AaNPS+Z# z9^391epgRSB(9|Uc6I5PM^27C(ADVdK!zf^7Fmz77I{WKfB1@(ms!~->&oCfdR|zEv88zcWsC4Ftv+$6RI^v7fF`-)fhg&vs->wyeILET?WZ;P~ zl)i})Avc@5*$$*@qlmJOVcXcimWfTm)*NpZI@m^qkPfAqK3Mrr)6v19?lnD-Dv(P0 z1iL%A4TiGq>V_8MkO%r>u*gxcki9~_?{jlt^p-0>W55Zt?5KG;oPI69&Xn?pX~w#&VN zebpO^zSI$8$gJ4gl1ssmluHzbLTkmiEb9!hQz|RZ7)s@Typ=9P^kQ@)3`DSDB7r1B zq+IDHKy8}P5obuX98X-1?|Q=T@SaOOrCXyuce~tol%5Bp^419$va2Q4*wj>FB7Bzz zf$$jOJt2J|g{NbOGL{Fh&xI=n(m)Qosw2a|J`QypFdVEnm!*jUjtCwIIe)wSpZUX! zx*FSPkH&sqG#xciLN$4!z6C{^JVI-YmZlznepG2{g!Xk(O^R!D8r3PxYV8@RM^YNL zXit(Clochv%1D#ip1ENmLyGc3DkEB!{4-{a;!LdtDi#KkA;O$p&Jm1|--!(>r4p^` g6H;%;U8{47{0sILC?o73O(^RZ&icU>3810$1s_F{X#fBK literal 0 HcmV?d00001 diff --git a/bin/Trainingsplatz/State.class b/bin/Trainingsplatz/State.class new file mode 100644 index 0000000000000000000000000000000000000000..a197246ede7cf82af28fd784b3bb4fc720da46c9 GIT binary patch literal 151 zcmWlSI}XAy5JblT;v^LXhkyp3frgeMh<+2TB1e`%_L735QE&hbh45CR`RL8}_x=Dl zp|hwAcGpBc`Z(oBAbGi7NZ4X+u$^fk7bs5dGR!=RLA!7Ylru+z)&6iZXa<(VqCwZ+ gpK0W?53EKxM@7^IWnC_Ts$e&$p?IrWnnrW9e{#qn&Hw-a literal 0 HcmV?d00001 diff --git a/bin/Trainingsplatz/Trainingsplatz.class b/bin/Trainingsplatz/Trainingsplatz.class new file mode 100644 index 0000000000000000000000000000000000000000..01d3f989d0cd5ddda3f0a0a8c65e32431bdd027c GIT binary patch literal 764 zcmaixT}uK%6o%iknycGtT58`P+D#ecZD0r?bR~6B2wjdg*vhuX?&wATDk!3Yen3Ae zI75#|CVlq8hf@%s9O&Nm3DV}`0GA+fjLAtYPFYiS{Yc^f9uCbER3De0*%9Sb%V zbV;62-J6ET1&#eq282Z$b4U>u+KwmBMz>w*Uy82F<`&z-o^U(DcXT{SCe@7-5Vrqe z6VicHVK;=;87EPjy0dgwDqkw;&0`&#CN>DgxX)-NHdc`)WX95WMG!>wJ2tj-*18yu z{GL2@wC$<69O~(#!ks4g+X#kkmrqGP^C)@EaMTK8pip~;ReOVd#fRJz3J-i~V2RgU z2;d)OQJzIb&e<$y5lSfYPFTju1lVMi!MRlJAV#smte$x`B$T7734!ZFd&Cs(cfva2 qUB6@19#MF~8sW!P#M6EXzZ_ZLj(9$QQ?_R*MW&Sgq*VBI1Jy5~?2hFC literal 0 HcmV?d00001 diff --git a/bin/Verein/Mannschaft.class b/bin/Verein/Mannschaft.class new file mode 100644 index 0000000000000000000000000000000000000000..da1d1d44d83b5886d12b31720039071ca462ff5e GIT binary patch literal 269 zcmZWjJ8r^26rAS|1_v;N6Qm<4;sbz?A|xsU1(Ex;v*5LywX`<5S1Kfm93Y2^c#9%Y z(9FD