update: fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user