public class RMAnimAgent extends RMObject
Modifier and Type | Field and Description |
---|---|
float |
_delay |
float |
_duration |
RMShape |
_shape |
Constructor and Description |
---|
RMAnimAgent()
Creates a new unitialized anim agent.
|
RMAnimAgent(RMShape aShape)
Creates an anim agent for the given shape.
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
This method is called to perform initializations before update(time) is called.
|
java.lang.Object |
fromXML(RXArchiver anArchiver,
RXElement anElement)
XML unarchival.
|
java.lang.String |
getTitle()
Returns the string used to describe this anim agent to the user.
|
void |
setShape(RMShape aShape)
Sets the shape for this agent to the given shape.
|
RXElement |
toXML(RXArchiver anArchiver)
XML archival.
|
void |
update(float aTime)
This method is used to perform actual modifications to the specified shape.
|
clone, copy, didChange, didUndo, getAnimAttribute, getClassNameShort, initWithArchiver, undoClone, undoCopy, undoEquals
public RMShape _shape
public float _delay
public float _duration
public RMAnimAgent()
public RMAnimAgent(RMShape aShape)
public void setShape(RMShape aShape)
public void activate()
public void update(float aTime)
public java.lang.String getTitle()
public RXElement toXML(RXArchiver anArchiver)
public java.lang.Object fromXML(RXArchiver anArchiver, RXElement anElement)