moagg.level.xml.object
Class TurretBarrelHandler
java.lang.Object
moagg.level.xml.AbstractHandler
moagg.level.xml.object.TurretBarrelHandler
- All Implemented Interfaces:
- Handler
public class TurretBarrelHandler
- extends AbstractHandler
- implements Handler
Field Summary |
static java.lang.String |
NAME
|
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 |
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
TurretBarrelHandler
protected TurretBarrelHandler(org.xml.sax.Attributes attrs)
getTurretBarrelData
public TurretData.BarrelData getTurretBarrelData()
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
parseWeaponType
protected WeaponType parseWeaponType(java.lang.String value)
parseType
protected TurretBarrelType parseType(java.lang.String value)
getDefaultSpeed
protected int getDefaultSpeed(WeaponType weaponType)
Copyright © 2008. All Rights Reserved.