|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.globalse.arena.frag.objects.FRAGObject | +--org.globalse.arena.sword.algorithm.MissionXML
This class is used to transport the mission xml description to all peers.
Fields inherited from class org.globalse.arena.frag.objects.FRAGObject |
controller,
gameName,
influenceRange,
objectName,
owner,
position,
visibilityRange |
Constructor Summary | |
MissionXML()
|
Method Summary | |
void |
actionEvent(ObjectActionEvent event)
|
MathVector |
checkCollision(java.lang.String other,
MathVector oldPos,
MathVector delta)
|
java.io.InputStream |
getInputStream()
Returns the contents of the mission-description as an input stream. |
void |
init(java.lang.String gameName,
java.lang.String filename)
Initializes the MissionXML object. |
Methods inherited from class org.globalse.arena.frag.objects.FRAGObject |
checkAndResetMark,
checkMark,
clone,
controlAcquired,
controlLost,
draw,
getGameManager,
getInfluenceRange,
getObjectManager,
getObjectName,
getPosition,
killed,
mark,
newerVersion,
setInfluenceRange,
setPosition |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public MissionXML()
Method Detail |
public void init(java.lang.String gameName, java.lang.String filename) throws java.io.IOException
gameName
- the name of the FRAG-gamefilename
- the name of the file with the mission-descriptionpublic java.io.InputStream getInputStream()
public void actionEvent(ObjectActionEvent event)
public MathVector checkCollision(java.lang.String other, MathVector oldPos, MathVector delta)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |