//-------------------------------------------------------------------------------------------------------------- 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); }
public SwapPositioner(IUiPlayerBoardUtils Utils) { utils = Utils; JewelsToPosition = new Queue <IRuntimeJewel>(); BoardPos = new UiBoardPositioner(); }
public CascadePositoner(IUiPlayerBoardUtils Utils) { utils = Utils; JewelsToFall = new Queue <IRuntimeJewel>(); BoardPos = new UiBoardPositioner(); }