C# Class Lecture6Examples.PianoPlayer

Inheritance: GameObject, IEmitSound
ファイルを表示 Open project: Westerdals/PG2200LectureCode2013

Public Methods

Method Description
GetState ( ) : string
PianoPlayer ( Microsoft.Xna.Framework.Game game ) : System
PlaySounds ( Microsoft.Xna.Framework.Audio.AudioListener listener ) : void
Update ( GameTime gameTime ) : void

Method Details

GetState() public method

public GetState ( ) : string
return string

PianoPlayer() public method

public PianoPlayer ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

PlaySounds() public method

public PlaySounds ( Microsoft.Xna.Framework.Audio.AudioListener listener ) : void
listener Microsoft.Xna.Framework.Audio.AudioListener
return void

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void