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
## Structure
![Structure](structure.png)
## Author
[Alfred Gao](http://alfredg.org), [alfredg@alfredg.cn](mailto:alfredg@alfredg.cn)

View File

@ -73,7 +73,7 @@ extension ResourcePackageReader {
///
///
/// play music
func playMusic(_ key: String, loops: Int = 1, volume: Float = 100) {
public func playMusic(_ key: String, loops: Int = 1, volume: Float = 100) {
stopMusic()
// load music data
@ -103,7 +103,7 @@ extension ResourcePackageReader {
///
///
/// stop music
func stopMusic() {
public func stopMusic() {
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