added lab14 ex1

This commit is contained in:
2024-11-11 10:44:58 +01:00
parent 64f7f56ffe
commit 23829388cb
11 changed files with 145 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package lab14_strategy.ex1;
public class AxeBehavior implements WeaponBehavior {
@Override
public String useWeapon() {
return "chops with an axe";
}
}