Ejemplo n.º 1
0
    // Start is called before the first frame update
    void Awake()
    {
        //Debug.Log("GenerateMove::Awake");
        instance = this;

        move = new List <int>();
        move.Add((int)Direction.Up);    //Up
        move.Add((int)Direction.Down);  //Down
        move.Add((int)Direction.Left);  //Left
        move.Add((int)Direction.Right); //Right
    }
	// Use this for initialization
	void Start () {
		launchHandler = GameObject.Find ("BackgroundImage").GetComponent<Launch> ();
		generateMove = GameObject.Find ("BackgroundImage").GetComponent<GenerateMove> ();
		poseArrayCounter = -1; // Indicating it hasn't generated new poses yet
	}