public class MagicEffectRef extends Record
Constructor and Description |
---|
MagicEffectRef(FormID magicEffectRef) |
Modifier and Type | Method and Description |
---|---|
void |
addCondition(Condition c)
Deprecated.
modifying the ArrayList will now directly affect the record.
|
boolean |
equals(java.lang.Object obj) |
int |
getAreaOfEffect() |
java.util.ArrayList<Condition> |
getConditions() |
int |
getDuration() |
FormID |
getMagicRef() |
float |
getMagnitude() |
int |
getRecordLength(lev.LImport in) |
int |
hashCode() |
java.lang.String |
print()
Returns the contents of the record, or exports them to a log, depending
on the record type.
|
void |
removeCondition(Condition c)
Deprecated.
modifying the ArrayList will now directly affect the record.
|
void |
setAreaOfEffect(int aoe) |
void |
setDuration(int duration) |
void |
setMagicRef(FormID magicRef) |
void |
setMagnitude(float magnitude) |
java.lang.String |
toString()
Returns a short summary/title of the record.
|
public MagicEffectRef(FormID magicEffectRef)
magicEffectRef
- A formID to a MGEF record.public boolean equals(java.lang.Object obj)
obj
- public int hashCode()
public void setMagicRef(FormID magicRef)
magicRef
- public FormID getMagicRef()
public void setMagnitude(float magnitude)
magnitude
- public float getMagnitude()
public void setAreaOfEffect(int aoe)
aoe
- public int getAreaOfEffect()
public void setDuration(int duration)
duration
- public int getDuration()
public java.util.ArrayList<Condition> getConditions()
public void addCondition(Condition c)
c
- public void removeCondition(Condition c)
c
- public int getRecordLength(lev.LImport in)
getRecordLength
in class Record
in
- public java.lang.String print()
Record