package net.pokeranalytics.android.ui.view.rowrepresentable

import net.pokeranalytics.android.calculus.ComputedStat
import net.pokeranalytics.android.calculus.Stat
import net.pokeranalytics.android.ui.view.RowRepresentable
import net.pokeranalytics.android.ui.view.RowViewType


class StatRow(stat: Stat, computedStat: ComputedStat?, groupName: String = "") : RowRepresentable {

    var stat: Stat = stat
    var computedStat: ComputedStat? = computedStat
    var groupName: String = groupName

    override val viewType: Int
        get() = RowViewType.STATS.ordinal

    override val resId: Int?
        get() = this.stat.resId

}
