Ejemplo n.º 1
0
        public FishingBot(GameWindow gameWindow, int audioDeviceIndex)
        {
            _soundDetector = new SoundDetector(audioDeviceIndex);

            _gameWindow = gameWindow;

            _currentState = BotState.FindBaitLocation;

            ScanArea = GetScanArea();
        }
Ejemplo n.º 2
0
 // Start is called before the first frame update
 void Start()
 {
     singleton    = this;
     currentAudio = SoundHandler.singleton.currentSource;
 }