| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmechanics.clauses.Clause
mechanics.clauses.EffectClause
public class EffectClause
This clause prevents a trainer from putting a particular status on more than one of the opponent's pokemon at a time.
| Constructor Summary | |
|---|---|
EffectClause(java.lang.Class effect)
 | 
|
| Method Summary | |
|---|---|
 boolean | 
allowsStatus(StatusEffect eff,
             Pokemon source,
             Pokemon target)
Does this clause allow the application of the given status effect to a particular pokemon?  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public EffectClause(java.lang.Class effect)
effect - the status effect to restrict| Method Detail | 
|---|
public boolean allowsStatus(StatusEffect eff,
                            Pokemon source,
                            Pokemon target)
Clause
allowsStatus in class Clause
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||