-
Notifications
You must be signed in to change notification settings - Fork 4
General Mobs Testing Plan
To test each task of the General Mobs feature, a mix of Unit tests and other tests during Gameplay have been implemented.
TEXT HERE
TEXT HERE
As the projectile shooting has not yet been incorporated with the mob entities, a print statement has been included which occurs whenever the ShootTask
is initiated. This task prints to the terminal and is initiated in the start()
function of the class.
@Override
public void start() {
super.start();
System.out.println(this.message);
}
During gameplay, if the window is minimised and not on full-screen mode, these print statements can be seen whenever the player moves within range of the Xeno Mob Entity. In future work, the projectiles will be implemented with this class so that the mob shoots projectiles at a specified target. The expected print message is given below, where target
is the Entity moving within range of the mob (in this case, the player).
this.message = "Shoot Task Activated " + target;