|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectus.asciiroth.client.core.Bag<Effect>
us.asciiroth.client.board.EffectBag
public class EffectBag
A bag representing the items in a cell. Following the simple C --> M --> V design of the application, this decorates a bag and adds updates to the map/view.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class us.asciiroth.client.core.Bag |
|---|
Bag.Entry<T extends Piece> |
| Constructor Summary | |
|---|---|
EffectBag(Cell cell)
Constructor |
|
| Method Summary | |
|---|---|
void |
add(Effect effect)
Add one count of an item to the bag. |
void |
add(int index,
Effect effect)
Add an item to the bag at the indicated index. |
void |
addInFlightItem(Effect effect)
Add an in-flight item effect. |
void |
moveEffectTo(Cell next,
Effect effect)
An optimization to avoid creating animation proxies for effects. |
void |
remove(Effect effect)
Remove one count of an item from the bag. |
| Methods inherited from class us.asciiroth.client.core.Bag |
|---|
asEntryList, contains, findEntry, get, getCount, getIndex, isEmpty, last, size |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EffectBag(Cell cell)
cell - | Method Detail |
|---|
public void add(Effect effect)
Bag
add in class Bag<Effect>
public void add(int index,
Effect effect)
Bag
add in class Bag<Effect>public void addInFlightItem(Effect effect)
effect -
public void moveEffectTo(Cell next,
Effect effect)
next - effect - public void remove(Effect effect)
Bag
remove in class Bag<Effect>
|
0.7 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
© 2009 Alx Dark