owly
Banned
-
- Joined
- Oct 26, 2018
- Posts
- 2,294
Java:
package chobits;
public class Main {
public static void main(String[] args) {
// TODO Auto-generated method stub
Chobit chii = new Chobit();
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
// System.out.println(chii.doIt("hadouken", "master"));
System.out.println(chii.doIt("hi", "master"));
System.out.println(chii.doIt("say hadouken 3 times", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
// System.out.println(chii.doIt("what is the time", "master"));
// System.out.println(chii.doIt("what is the date", "master"));
// System.out.println(chii.doIt("what is the year", "master"));
// System.out.println(chii.doIt("current seconds", "master"));
// // System.out.println(chii.doIt("current minutes", "master"));
// // System.out.println(chii.doIt("current hour", "master"));
// System.out.println(chii.doIt("which day is it", "master"));
// // System.out.println(chii.doIt("what is the date", "master"));
// // System.out.println(chii.doIt("what is the date", "master"));
// System.out.println(chii.doIt("", "master"));
// System.out.println(chii.doIt("", "master"));
// System.out.println(chii.doIt("hi", "master"));
// System.out.println(chii.doIt("", "master"));
// System.out.println(chii.doIt("", "master"));
// System.out.println(chii.doIt("", "master"));
// int random = (int) (Math.random() * 3);
// System.out.println(random);
// System.out.println(chii.getClass().getSimpleName());
// if (chii.getClass().getSimpleName().equals("Chobit")) {
// System.out.println("This is a chobit");
//
// }
// switch (chii.getClass().getSimpleName()) {
// case "Chobit":
// System.out.println("This is a chobit");
// break;
//
// default:
// break;
// }
}
}
output :
good morning
output
hadouken
output
hadouken
output
hadouken
output
output
output
output
the chobit.doIt would need to be activated using a timer tick event.
the framework is coming together nicely.
Java:
System.out.println(chii.doIt("hi", "master"));
System.out.println(chii.doIt("say hadouken 3 times", ""));
System.out.println(chii.doIt("say owly rulz 4 times", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
System.out.println(chii.doIt("", ""));
output :
good morning
output
hadouken
output
hadouken
output
hadouken
output
owly rulz
output
owly rulz
output
owly rulz
output
owly rulz
output
output
output
output
output
output
output
output
output
output
output
@Insomniac
Last edited: