cleaned up formatting:

- removed trailing whitespace
- changed all leading whitespace to tabs
- removed IDE created author comments
This commit is contained in:
Evan Debenham
2015-06-12 16:22:26 -04:00
parent baa83b7e43
commit cebdff0221
335 changed files with 8555 additions and 8714 deletions
@@ -42,7 +42,7 @@ public class Bag extends Item implements Iterable<Item> {
public Char owner;
public ArrayList<Item> items = new ArrayList<Item>();
public ArrayList<Item> items = new ArrayList<Item>();
public int size = 1;
@@ -61,7 +61,7 @@ public class Bag extends Item implements Iterable<Item> {
@Override
public boolean collect( Bag container ) {
if (super.collect( container )) {
if (super.collect( container )) {
owner = container.owner;
@@ -82,9 +82,9 @@ public class Bag extends Item implements Iterable<Item> {
@Override
public void onDetach( ) {
this.owner = null;
for (Item item : items)
Dungeon.quickslot.clearItem(item);
this.owner = null;
for (Item item : items)
Dungeon.quickslot.clearItem(item);
updateQuickslot();
}
@@ -178,6 +178,6 @@ public class Bag extends Item implements Iterable<Item> {
} else {
items.remove( index );
}
}
}
}
}
@@ -4,9 +4,6 @@ import com.shatteredpixel.shatteredpixeldungeon.items.Item;
import com.shatteredpixel.shatteredpixeldungeon.items.potions.Potion;
import com.shatteredpixel.shatteredpixeldungeon.sprites.ItemSpriteSheet;
/**
* Created by debenhame on 05/02/2015.
*/
public class PotionBandolier extends Bag {
{
@@ -51,12 +51,12 @@ public class WandHolster extends Bag {
}
@Override
public void onDetach( ) {
public void onDetach( ) {
super.onDetach();
for (Item item : items) {
((Wand)item).stopCharging();
}
}
for (Item item : items) {
((Wand)item).stopCharging();
}
}
@Override
public int price() {