| | |
| | | @IBOutlet weak var label_totalNum: UILabel! |
| | | @IBOutlet weak var label_errorNum: UILabel! |
| | | @IBOutlet weak var label_ratioNum: UILabel! |
| | | @IBOutlet weak var btn_next: UIButton! |
| | | |
| | | private var correctNum:Int = 0 |
| | | private var errorNum:Int = 0 |
| | | private var totalCoin:Int = 0 |
| | | private var listenType:ListenType! |
| | | |
| | | required init(correctNum:Int,errorNum:Int,totalCoin:Int){ |
| | | required init(correctNum:Int,errorNum:Int,totalCoin:Int,listenType:ListenType){ |
| | | super.init(nibName: nil, bundle: nil) |
| | | self.correctNum = correctNum |
| | | self.errorNum = errorNum |
| | | self.totalCoin = totalCoin |
| | | self.listenType = listenType |
| | | } |
| | | |
| | | required init?(coder: NSCoder) { |
| | |
| | | } |
| | | } |
| | | } |
| | | |
| | | @IBAction func nextAction(_ sender: UIButton) { |
| | | |
| | | } |
| | | } |