// Use this for initialization
    void Start () {
        currentSeq = "";
        beat = 60.0f / bpm;
        offset = Time.time % (beat);

        // Translation of directions to move vectors
        moveList = new Dictionary<string, string>();
        moveVectors = new Dictionary<char, Vector3>();
        moveVectors['u'] = new Vector3(0, 1, 0);
        moveVectors['d'] = new Vector3(0, -1, 0);
        moveVectors['l'] = new Vector3(-1, 0, 0);
        moveVectors['r'] = new Vector3(1, 0, 0);

        string moves = moveText.text.Replace("\r","");
        foreach(string line in moves.Split('\n'))
        {
            string[] mt = line.Split(':');
            moveList[mt[1]] = mt[0];
        }
        levelLoader = GetComponent<LoadLevel>();
		levelLogic = levelLoader.GetLevelController ();
    }