Sound class containing methods to play all different sounds to be used in the game
More...
Sound class containing methods to play all different sounds to be used in the game
§ attackSound()
static void View.Sounds.attackSound |
( |
Unit |
unit | ) |
|
|
static |
This method takes in a unit, and plays an attacking sound corresponding to the unit's weapon. The weapon sounds include Sword, Bow, and Magic /param unit The unit who's weapon sound will be played
§ playGameOverSong()
static void View.Sounds.playGameOverSong |
( |
| ) |
|
|
static |
This method plays the Game Over Song
§ playMapSong()
static void View.Sounds.playMapSong |
( |
bool |
play | ) |
|
|
static |
This method takes in the bool play, and either plays the instance of Main Map Song if true, or stops it from playing if false
- Parameters
-
play | The Boolean determining if music should be played or stopped |
§ playMenuSong()
static void View.Sounds.playMenuSong |
( |
bool |
play | ) |
|
|
static |
This method takes in the bool play, and either plays the instance of Menu song if true, or stops it from playing if false
- Parameters
-
play | The Boolean determining if music should be played or stopped |
§ walkingSound()
static void View.Sounds.walkingSound |
( |
| ) |
|
|
static |
This method plays a single walking step sound
The documentation for this class was generated from the following file:
- C:/Users/Thien Trandinh/Documents/Blaze-Brigade/src/Blaze-Brigade/Blaze_Brigade/Sounds.cs