moagg.level.xml
Class StartPositionHandler

java.lang.Object
  extended by moagg.level.xml.AbstractHandler
      extended by moagg.level.xml.StartPositionHandler
All Implemented Interfaces:
Handler

public class StartPositionHandler
extends AbstractHandler
implements Handler


Field Summary
static java.lang.String NAME
           
 
Constructor Summary
StartPositionHandler(org.xml.sax.Attributes attrs)
           
 
Method Summary
 Handler createSubHandler(java.lang.String name, org.xml.sax.Attributes attrs)
           
 void finishSubHandler(java.lang.String name, Handler subHandler)
           
 int getFuelPercentage()
           
 java.util.List<java.lang.Integer> getStartPlatformIds()
           
 int getStartX()
           
 int getStartY()
           
 void handleTag(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class moagg.level.xml.AbstractHandler
getBooleanAttribute, getHexAttribute, getHexAttribute, getIntAttribute, getIntAttribute, getStringAttribute, getStringAttribute, getUnsignedIntAttribute, getUnsignedIntAttribute, handleActivateableAttributes, handleDestroyableAttributes, parseOrientation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

StartPositionHandler

public StartPositionHandler(org.xml.sax.Attributes attrs)
Method Detail

getStartPlatformIds

public java.util.List<java.lang.Integer> getStartPlatformIds()

getStartX

public int getStartX()

getStartY

public int getStartY()

getFuelPercentage

public int getFuelPercentage()

createSubHandler

public Handler createSubHandler(java.lang.String name,
                                org.xml.sax.Attributes attrs)
Specified by:
createSubHandler in interface Handler

handleTag

public void handleTag(java.lang.String name,
                      java.lang.String value)
Specified by:
handleTag in interface Handler

finishSubHandler

public void finishSubHandler(java.lang.String name,
                             Handler subHandler)
Specified by:
finishSubHandler in interface Handler


Copyright © 2008. All Rights Reserved.