public static Hierarchy create(Hierarchy.Walls wall, Azul.Color color)
 {
     Hierarchy node = new WallNode(color, GameObject.Name.Wall);
     GameObjectManager.addRoot(node);
     SpriteBatchManager.attachToGroup(node.ColObj.Spr, BatchGroup.BatchType.Collisions);
     return node;
 }
示例#2
0
 public override void visitWallNode(WallNode wn, CollisionPair p)
 {
     p.collision((GameObject)wn.Child, this);
 }
示例#3
0
 public virtual void visitWallNode(WallNode wn, CollisionPair p)
 {
     Debug.Assert(false, "Shouldn't have been called");
 }