Ejemplo n.º 1
0
    // Use this for initialization
    void Start()
    {
        //List describes adversaries subject will face, hard coded for purposes of this
        //investigation, each number represents which type of enemy
        // 0 for NMLAI, 1 for DRL, 2 for CL, 3 for IL, 4 for EL and 5 for a real player
        //Change grid dimensions to accomodate smaller study map
        PathGrid p = GameObject.Find("PathGrid").GetComponent <PathGrid>();

        p.gridDimensions.x = 200;
        p.gridDimensions.y = 175;
        p.transform.SetPositionAndRotation(new Vector3(-20, -55, 0), p.transform.rotation);
        p.GenerateGrid();

        Enemies = new List <int>()
        {
            0, 1, 5
        };
    }