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