public static Hierarchy create(Hierarchy.Missiles missile, Azul.Color color) { Hierarchy node = new MissileNode(color); GameObjectManager.addRoot(node); SpriteBatchManager.attachToGroup(node.ColObj.Spr, BatchGroup.BatchType.Collisions); return node; }
public virtual void visitMissileNode(MissileNode mn, CollisionPair p) { Debug.Assert(false, "Shouldn't have been called"); }
public override void visitMissileNode(MissileNode mn, CollisionPair p) { p.collision((GameObject)mn.Child, this); }
public override void visitMissileNode(MissileNode mn, CollisionPair p) { p.collision(mn, (GameObject)this.child); }