add structure picture

This commit is contained in:
Alfred Gao 2017-01-06 17:45:09 +08:00
parent 813f28f7e1
commit fe0a289011
4 changed files with 6 additions and 2 deletions

View File

@ -26,6 +26,10 @@ pod "ResourcePackage"
## Usage ## Usage
## Structure
![Structure](structure.png)
## Author ## Author
[Alfred Gao](http://alfredg.org), [alfredg@alfredg.cn](mailto:alfredg@alfredg.cn) [Alfred Gao](http://alfredg.org), [alfredg@alfredg.cn](mailto:alfredg@alfredg.cn)

View File

@ -73,7 +73,7 @@ extension ResourcePackageReader {
/// ///
/// ///
/// play music /// play music
func playMusic(_ key: String, loops: Int = 1, volume: Float = 100) { public func playMusic(_ key: String, loops: Int = 1, volume: Float = 100) {
stopMusic() stopMusic()
// load music data // load music data
@ -103,7 +103,7 @@ extension ResourcePackageReader {
/// ///
/// ///
/// stop music /// stop music
func stopMusic() { public func stopMusic() {
musicPlayer?.stop() musicPlayer?.stop()
} }

BIN
structure.monopic Normal file

Binary file not shown.

BIN
structure.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB