Originally Posted by
poetzmij
oh ok atleast i might understand one part of this whole picture, i apologize for being such a slow learner.
so if i had a method and all i wanted the method to do was take some Item objects and find if there slots are available by changing it true or false, it may look something like this.
public boolean Availability(Item item1, Item item2, Item item3){
//some code that determines if an item is there in that item slot
if (there be an item there){
return false;
}
else{
return true;
}
}
Dpending upon, if you want your method to return false in case, it finds the Item, the pseudocode is FINE.