Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
loss
package loss;
/**
*
* @author pandalion98
*/
public class Loss {
static boolean justANormalDay = true;
public static void main(String[] args) {
if (!justANormalDay && News.received()) {
Self.run();
Door.Go.to();
Self.run();
Reception.Go.to();
Talk.to(new Receptionist());
Self.run();
Talk.to(new Doctor());
Self.run();
// To Be Continued ---->
}
}
static class Self {
public static void run() {
// Placeholder
}
}
static class Doctor {
public void talk() {
// Placeholder
}
}
static class Receptionist {
public void talk() {
// Placeholder
}
}
static class News {
public static boolean received() {
return true; // Placeholder
}
}
static class Door {
public static class Go{
public static void to() {
// Placeholder
}
}
}
static class Talk {
public static void to(Doctor doc) {
// Placeholder
}
public static void to(Receptionist rec) {
// Placeholder
}
}
static class Reception {
public static class Go{
public static void to() {
// Placeholder
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.