mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2025-10-02 06:30:15 +02:00
implement Glados
This commit is contained in:
BIN
5728853850_a3bbb14083_z.jpg
Normal file
BIN
5728853850_a3bbb14083_z.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 64 KiB |
@@ -7,6 +7,7 @@ public class Potato {
|
|||||||
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
Potato potato = new Potato();
|
Potato potato = new Potato();
|
||||||
|
Glados glados = new Glados();
|
||||||
if (potato.prepare()) System.out.println("Of course potato is prepared and delicious.");
|
if (potato.prepare()) System.out.println("Of course potato is prepared and delicious.");
|
||||||
else System.out.println("Fatal error! How could potato not be delicious?");
|
else System.out.println("Fatal error! How could potato not be delicious?");
|
||||||
}
|
}
|
||||||
@@ -39,4 +40,11 @@ public class Potato {
|
|||||||
return this.name;
|
return this.name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static class Glados extends Potato {
|
||||||
|
public Glados()
|
||||||
|
{
|
||||||
|
System.out.println("Oh hi, how are you holding up? BECAUSE I<>M A POTATO<54> clap clap clap<61> oh good, my slow clap processor made it into this thing, at least we have that.");
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user