// Use this for initialization
 void Start()
 {
     instantiator    = gameObject.GetComponent <RockLevelInstantiator> ();
     checkForMatches = gameObject.GetComponent <RockLevelCheckForMatches> ();
     movementChecker = gameObject.GetComponent <RockLevelMovementChecker> ();
     touchHandler    = gameObject.GetComponent <RockLevelTouchHandler> ();
     noMatchChecker  = gameObject.GetComponent <RockLevelNoMatchChecker> ();
     swapJewel       = gameObject.GetComponent <RockLevelSwapJewel> ();
     cooldown        = 2f;
     shuffleFinished = true;
 }
 // Use this for initialization
 void Start()
 {
     rockLevelController = gameObject.GetComponent <RockLevelController> ();
     instantiator        = gameObject.GetComponent <RockLevelInstantiator> ();
     checkForMatches     = rockLevelController.GetComponent <RockLevelCheckForMatches> ();
     instantiator        = rockLevelController.GetComponent <RockLevelInstantiator> ();
     bombHandler         = rockLevelController.GetComponent <RockLevelBombHandler> ();
     starShooter         = gameObject.GetComponent <RockLevelStarShooter> ();
     //		remainderController = levelThreeController.GetComponent<LevelThreeBombRemainderController> ();
     touchHandler    = rockLevelController.GetComponent <RockLevelTouchHandler> ();
     fourInARow      = gameObject.GetComponent <RockLevelFourInARow> ();
     fiveInARow      = gameObject.GetComponent <RockLevelFiveInARow> ();
     corners         = gameObject.GetComponent <RockLevelCorners> ();
     noMatchChecker  = gameObject.GetComponent <RockLevelNoMatchChecker> ();
     shuffle         = gameObject.GetComponent <RockLevelShuffleGameBoard> ();
     soundController = gameObject.GetComponent <SoundController> ();
     deleteJewels    = gameObject.GetComponent <RockLevelDeleteJewels> ();
     if (GameObject.Find("Mountain Level One ID") != null)
     {
         tutorialLevel = true;
     }
 }
    // Use this for initialization
    void Start()
    {
        deleteAgain       = false;
        fourInARow        = false;
        explosionsOn      = true;
        bombNumber        = 8;
        deleteCount       = 0;
        zPosition         = -30;
        deleteListCopy    = new HashSet <GameObject> ();
        boulderDeleteList = new HashSet <GameObject> ();
        floatingJewelList = new HashSet <GameObject> ();
        moveJewelsDown    = gameObject.GetComponent <RockLevelMoveJewelsDown> ();
        instantiator      = gameObject.GetComponent <RockLevelInstantiator> ();
        controller        = gameObject.GetComponent <RockLevelController> ();
        touchHandler      = gameObject.GetComponent <RockLevelTouchHandler> ();
        //		tutorialTouchHandler = gameObject.GetComponent<LevelTwoTutorialTouchHandler> ();
        checkForMatches  = gameObject.GetComponent <RockLevelCheckForMatches> ();
        bombHandler      = gameObject.GetComponent <RockLevelBombHandler> ();
        matchAssistant   = gameObject.GetComponent <RockLevelMatchAssistant> ();
        fourInARowScript = gameObject.GetComponent <RockLevelFourInARow> ();
        //		corners = GameObject.Find ("Level One Controller").GetComponent<LevelOneCorners> ();
        scoreKeeper     = gameObject.GetComponent <RockLevelScoreKeeper> ();
        movementChecker = gameObject.GetComponent <RockLevelMovementChecker> ();
        noMatchChecker  = gameObject.GetComponent <RockLevelNoMatchChecker> ();
        starShooter     = gameObject.GetComponent <RockLevelStarShooter> ();
        if (GameObject.Find("Jewel Collector") != null)
        {
            endOfLevelJewelSprayer = GameObject.Find("Jewel Collector").GetComponent <EndOfLevelCollectionJewelShooter> ();
        }
        soundHandler            = GameObject.Find("Game Manager").GetComponent <SoundHandler> ();
        boulderHolder           = new List <PositionHolder> ();
        targetStaticBlueJewel   = GameObject.Find("Static Jewel Four");
        targetStaticGreenJewel  = GameObject.Find("Static Jewel Three");
        targetStaticOrangeJewel = GameObject.Find("Static Jewel Six");
        targetStaticPurpleJewel = GameObject.Find("Static Jewel Five");
        targetStaticRedJewel    = GameObject.Find("Static Jewel Two");
        targetStaticWhiteJewel  = GameObject.Find("Static Jewel One");

//		if (GameObject.Find ("Time Bomb ID") != null)
//			decreaseBombs = GameObject.Find ("Time Bomb ID").GetComponent<DecreaseBombs> ();
        timeStamp           = Time.time;
        assistanceTimeStamp = Time.time;
        testTimeStamp       = Time.time;
        swapMadeTimestamp   = Time.time;
        swapMadeCoodown     = .1f;
//		okayToMoveTimeStamp = Time.time;
//		okayToMoveCooldown = .1f;
        assistanceCooldown    = 7f;
        powerTrackerTimestamp = Time.time;
        powerTrackerCooldown  = 5;
        cooldown         = 1.5f;
        shadeCount       = 0;
        noMatchCount     = 0;
        deletedPositions = new List <PositionHolder> ();
        if (GameObject.Find("Mountain Level One ID") != null)
        {
            tutorialLevel1 = true;
        }
        else if (GameObject.Find("Mountain Level Two ID") != null)
        {
            tutorialLevel2 = true;
        }
        else if (GameObject.Find("Mountain Level Three ID") != null)
        {
            tutorialLevel3 = true;
        }
        else if (GameObject.Find("Cabin Level Two ID") != null)
        {
            tutorialLevel4 = true;
        }
        startingLeftJewelPosition = -2.415f;
        horizontalMultiplier      = .6125f;
    }