update: fix

This commit is contained in:
Sobottasgithub
2026-01-14 07:04:38 +01:00
parent 6854157edd
commit 74e46e60c7
5 changed files with 88 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ public class Hero {
public LinkedList getWeaponInventory() {
return weaponInventory;
}
/*
public void addWeapon(Weapon weapon) {
weaponInventory.append(weapon);
}
@@ -23,7 +23,9 @@ public class Hero {
weaponInventory.toNext();
}
if (weaponInventory.hasAccess()) {
currentWeapon = weaponInventory.getCurrentContent();
System.out.println("Weapon was chosen");
//currentWeapon = weaponInventory.getCurrentContent();
}
}
*/
}