Beispiel #1
0
        private void Start()
        {
            coordinate = FindObjects.GameLogic.GetComponent <ConvertCoordinates>();
            board      = FindObjects.GameLogic.GetComponent <DungeonBoard>();
            fov        = GetComponent <FieldOfView>();

            maxRange = fov.MaxRange;
        }
Beispiel #2
0
        private void Start()
        {
            coordinate = FindObjects.GameLogic.GetComponent <ConvertCoordinates>();
            board      = FindObjects.GameLogic.GetComponent <DungeonBoard>();
            fov        = GetComponent <FieldOfView>();

            distanceBoard = new int[board.Width, board.Height];
            maxRange      = fov.MaxRange;
        }