Inheritance: Paula
Ejemplo n.º 1
0
        public Player_V4A(ScummEngine scumm, IMixer mixer)
        {
            _vm = scumm;
            _mixer = mixer;
            _tfmxMusic = new Tfmx(_mixer.OutputRate, true);
            _tfmxSfx = new Tfmx(_mixer.OutputRate, true);

            Debug.Assert(scumm != null);
            Debug.Assert(mixer != null);
            Debug.Assert(_vm.Game.GameId == GameId.Monkey1);
            _tfmxMusic.SetSignalAction((num, value) =>
                {
                    if (num == 0)
                    {
                        _signal = value;
                    }
                });
        }
Ejemplo n.º 2
0
 public void SetModuleData(Tfmx otherPlayer)
 {
     SetModuleData(otherPlayer._resource, otherPlayer._resourceSample, false);
 }