Implemented shootONeillsGun

This commit is contained in:
Bokros Bálint 2016-04-25 20:57:41 +02:00
parent 339df6af13
commit 1b2c8c8478

View File

@ -44,6 +44,17 @@ public class Tester {
}
}
void shootONeillsGun(String param) {
switch (param) {
case "B" :
oneill.shootStargate(Stargate.blueStargate);
break;
case "Y" :
oneill.shootStargate(Stargate.yellowStargate);
break;
}
}
/* custom Test annotation */
@Target(ElementType.METHOD) // it's for methods
@Retention(RetentionPolicy.RUNTIME) // we want to retain annotations in runtime