Beispiel #1
0
        //--------------------------------------------------------------------------------------------------------------

        private void Awake()
        {
            playerBoard  = transform.parent.GetComponentInChildren <IUiBoard>();
            BoardPos     = new UiBoardPositioner();
            JewelsToFall = new Queue <IRuntimeJewel>();
            mBehaviour   = this;

            cascadePos = new CascadePositoner(this);
            swapPos    = new SwapPositioner(this);
        }
Beispiel #2
0
 public SwapPositioner(IUiPlayerBoardUtils Utils)
 {
     utils            = Utils;
     JewelsToPosition = new Queue <IRuntimeJewel>();
     BoardPos         = new UiBoardPositioner();
 }
Beispiel #3
0
 public CascadePositoner(IUiPlayerBoardUtils Utils)
 {
     utils        = Utils;
     JewelsToFall = new Queue <IRuntimeJewel>();
     BoardPos     = new UiBoardPositioner();
 }