C# 클래스 TuneBlaster_.GameAudio

The class that manages the audio within the game Author Dermot Kirby
파일 보기 프로젝트 열기: kiniry-teaching/UCD 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
Alter Thread
Base Thread
Drums Thread
Harps Thread
Strings Thread
Synth Thread
ballColour Image.value
baseCue1 Microsoft.Xna.Framework.Audio.Cue
bellCue1 Microsoft.Xna.Framework.Audio.Cue
emitter Microsoft.Xna.Framework.Audio.AudioEmitter
listener Microsoft.Xna.Framework.Audio.AudioListener
pianoCue1 Microsoft.Xna.Framework.Audio.Cue
searchCue Microsoft.Xna.Framework.Audio.Cue
stringCue1 Microsoft.Xna.Framework.Audio.Cue

공개 메소드들

메소드 설명
ChangeBase ( ) : void

Starts the thread for base melody modification.

ChangeBells ( ) : void

Starts the thread for bell melody modification.

ChangeDrums ( ) : void

Starts the thread for piano melody modification.

ChangeHarp ( ) : void

Starts the thread for harp melody modification.

ChangeMelody ( Object colour ) : void

Method that regulates the modification of the song.

ChangePiano ( ) : void

Starts the thread for piano melody modification.

ChangeStrings ( ) : void

Starts the thread for string melody modification.

ChangeSynth ( ) : void

Starts the thread for synth melody modification.

GameAudio ( ) : System
Initialise ( ) : void

Plays the initial melody.

InstrChanger ( Image colour ) : void

Starts the thread for instrument modification depending on the colour.

ModifyBase ( ) : void

Modifies the initial melody.

ModifyBells ( ) : void

Modifies the bell melody.

ModifyDrums ( ) : void

Modifies the drum loop.

ModifyHarp ( ) : void

Modifies the harp melody.

ModifyPiano ( ) : void

Modifies the piano melody.

ModifyStrings ( ) : void

Modifies the string melody.

ModifySynth ( ) : void

Modifies the synth melody.

ResumeThreads ( ) : void

Resume any threads currently suspended

SuspendThreads ( ) : void

Suspend any threads currently executing

UpdateAudio ( ) : void

Updates the audio in the game.

disposeBallCues ( ) : void

Dispose of all the ball noise cues in memory

disposeBaseCues ( ) : void

Dispose of all the base melody cues in memory

disposeBellCues ( ) : void

Dispose of all the bell cues in memory

disposeDrumCues ( ) : void

Dispose of all the drum cues in memory

disposeHarpCues ( ) : void

Dispose of all the harp cues in memory

disposePianoCues ( ) : void

Dispose of all the piano cues in memory

disposeSpecialCues ( ) : void

Dispose of all the special mode cues in memory

disposeStringCues ( ) : void

Dispose of all the string cues in memory

disposeSynthCues ( ) : void

Dispose of all the synth cues in memory

pauseAllCues ( ) : void

In the event of a special mode, pause all the currently playing cues.

resetBallCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetBaseCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetBellCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetDrumCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetHarpCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetPianoCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetSpecialCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetStringCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resetSynthCues ( ) : void

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.

resumeAllCues ( ) : void

When a special mode ends, resume the cues that were paused.

setPosition ( Vector3 pos ) : void

Sets the position of the ball that caused an explosion.

메소드 상세

ChangeBase() 공개 메소드

Starts the thread for base melody modification.
public ChangeBase ( ) : void
리턴 void

ChangeBells() 공개 메소드

Starts the thread for bell melody modification.
public ChangeBells ( ) : void
리턴 void

ChangeDrums() 공개 메소드

Starts the thread for piano melody modification.
public ChangeDrums ( ) : void
리턴 void

ChangeHarp() 공개 메소드

Starts the thread for harp melody modification.
public ChangeHarp ( ) : void
리턴 void

ChangeMelody() 공개 메소드

Method that regulates the modification of the song.
public ChangeMelody ( Object colour ) : void
colour Object
리턴 void

ChangePiano() 공개 메소드

Starts the thread for piano melody modification.
public ChangePiano ( ) : void
리턴 void

ChangeStrings() 공개 메소드

Starts the thread for string melody modification.
public ChangeStrings ( ) : void
리턴 void

ChangeSynth() 공개 메소드

Starts the thread for synth melody modification.
public ChangeSynth ( ) : void
리턴 void

GameAudio() 공개 메소드

public GameAudio ( ) : System
리턴 System

Initialise() 공개 메소드

Plays the initial melody.
public Initialise ( ) : void
리턴 void

InstrChanger() 공개 메소드

Starts the thread for instrument modification depending on the colour.
public InstrChanger ( Image colour ) : void
colour Image
리턴 void

ModifyBase() 공개 메소드

Modifies the initial melody.
public ModifyBase ( ) : void
리턴 void

ModifyBells() 공개 메소드

Modifies the bell melody.
public ModifyBells ( ) : void
리턴 void

ModifyDrums() 공개 메소드

Modifies the drum loop.
public ModifyDrums ( ) : void
리턴 void

ModifyHarp() 공개 메소드

Modifies the harp melody.
public ModifyHarp ( ) : void
리턴 void

ModifyPiano() 공개 메소드

Modifies the piano melody.
public ModifyPiano ( ) : void
리턴 void

ModifyStrings() 공개 메소드

Modifies the string melody.
public ModifyStrings ( ) : void
리턴 void

ModifySynth() 공개 메소드

Modifies the synth melody.
public ModifySynth ( ) : void
리턴 void

ResumeThreads() 공개 메소드

Resume any threads currently suspended
public ResumeThreads ( ) : void
리턴 void

SuspendThreads() 공개 메소드

Suspend any threads currently executing
public SuspendThreads ( ) : void
리턴 void

UpdateAudio() 공개 메소드

Updates the audio in the game.
public UpdateAudio ( ) : void
리턴 void

disposeBallCues() 공개 메소드

Dispose of all the ball noise cues in memory
public disposeBallCues ( ) : void
리턴 void

disposeBaseCues() 공개 메소드

Dispose of all the base melody cues in memory
public disposeBaseCues ( ) : void
리턴 void

disposeBellCues() 공개 메소드

Dispose of all the bell cues in memory
public disposeBellCues ( ) : void
리턴 void

disposeDrumCues() 공개 메소드

Dispose of all the drum cues in memory
public disposeDrumCues ( ) : void
리턴 void

disposeHarpCues() 공개 메소드

Dispose of all the harp cues in memory
public disposeHarpCues ( ) : void
리턴 void

disposePianoCues() 공개 메소드

Dispose of all the piano cues in memory
public disposePianoCues ( ) : void
리턴 void

disposeSpecialCues() 공개 메소드

Dispose of all the special mode cues in memory
public disposeSpecialCues ( ) : void
리턴 void

disposeStringCues() 공개 메소드

Dispose of all the string cues in memory
public disposeStringCues ( ) : void
리턴 void

disposeSynthCues() 공개 메소드

Dispose of all the synth cues in memory
public disposeSynthCues ( ) : void
리턴 void

pauseAllCues() 공개 메소드

In the event of a special mode, pause all the currently playing cues.
public pauseAllCues ( ) : void
리턴 void

resetBallCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetBallCues ( ) : void
리턴 void

resetBaseCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetBaseCues ( ) : void
리턴 void

resetBellCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetBellCues ( ) : void
리턴 void

resetDrumCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetDrumCues ( ) : void
리턴 void

resetHarpCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetHarpCues ( ) : void
리턴 void

resetPianoCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetPianoCues ( ) : void
리턴 void

resetSpecialCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetSpecialCues ( ) : void
리턴 void

resetStringCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetStringCues ( ) : void
리턴 void

resetSynthCues() 공개 메소드

Sets the cues equal to the specified files from the sound bank to make them ready to be played again.
public resetSynthCues ( ) : void
리턴 void

resumeAllCues() 공개 메소드

When a special mode ends, resume the cues that were paused.
public resumeAllCues ( ) : void
리턴 void

setPosition() 공개 메소드

Sets the position of the ball that caused an explosion.
public setPosition ( Vector3 pos ) : void
pos Vector3
리턴 void

프로퍼티 상세

Alter 공개적으로 프로퍼티

public Thread Alter
리턴 Thread

Base 공개적으로 프로퍼티

public Thread Base
리턴 Thread

Drums 공개적으로 프로퍼티

public Thread Drums
리턴 Thread

Harps 공개적으로 프로퍼티

public Thread Harps
리턴 Thread

Strings 공개적으로 프로퍼티

public Thread Strings
리턴 Thread

Synth 공개적으로 프로퍼티

public Thread Synth
리턴 Thread

ballColour 공개적으로 프로퍼티

public Image.value ballColour
리턴 Image.value

baseCue1 공개적으로 프로퍼티

public Cue,Microsoft.Xna.Framework.Audio baseCue1
리턴 Microsoft.Xna.Framework.Audio.Cue

bellCue1 공개적으로 프로퍼티

public Cue,Microsoft.Xna.Framework.Audio bellCue1
리턴 Microsoft.Xna.Framework.Audio.Cue

emitter 공개적으로 프로퍼티

public AudioEmitter,Microsoft.Xna.Framework.Audio emitter
리턴 Microsoft.Xna.Framework.Audio.AudioEmitter

listener 공개적으로 프로퍼티

public AudioListener,Microsoft.Xna.Framework.Audio listener
리턴 Microsoft.Xna.Framework.Audio.AudioListener

pianoCue1 공개적으로 프로퍼티

public Cue,Microsoft.Xna.Framework.Audio pianoCue1
리턴 Microsoft.Xna.Framework.Audio.Cue

searchCue 공개적으로 프로퍼티

public Cue,Microsoft.Xna.Framework.Audio searchCue
리턴 Microsoft.Xna.Framework.Audio.Cue

stringCue1 공개적으로 프로퍼티

public Cue,Microsoft.Xna.Framework.Audio stringCue1
리턴 Microsoft.Xna.Framework.Audio.Cue