public BulletMLFire(BulletMLTree node)
{
this.node = node;
this.dirNode = node.GetChild(BLName.Direction);
this.spdNode = node.GetChild(BLName.Speed);
this.refNode = node.GetChild(BLName.BulletRef);
this.bulletNode = node.GetChild(BLName.Bullet);
if (dirNode == null && refNode != null)
dirNode = refNode.GetChild(BLName.Direction);
if (dirNode == null && bulletNode != null)
dirNode = bulletNode.GetChild(BLName.Direction);
if (spdNode == null && refNode != null)
spdNode = refNode.GetChild(BLName.Speed);
if (spdNode == null && bulletNode != null)
spdNode = bulletNode.GetChild(BLName.Speed);
}