public void CreatePipe(IWorldNode target, PipeBlueprint.Orientation orientation) { NextLinkedNodes.Add(target); var p = new LevelNodePipe(Owner, this, target, orientation); OutgoingPipes.Add(p); Manager.AddEntity(p); }
public ConnectionOrb(GameScreen scrn, LevelNodePipe pipe, FractionDifficulty diff) : base(scrn, GDConstants.ORDER_MAP_ORB) { _pos = pipe.GetOrbPosition(0); _diff = diff; _pipe = pipe; }