Esempio n. 1
0
        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);
        }
Esempio n. 2
0
 public ConnectionOrb(GameScreen scrn, LevelNodePipe pipe, FractionDifficulty diff) : base(scrn, GDConstants.ORDER_MAP_ORB)
 {
     _pos  = pipe.GetOrbPosition(0);
     _diff = diff;
     _pipe = pipe;
 }