add constructor for MutablePsychomatrix from Psychomatrix

This commit is contained in:
InsanusMokrassar 2018-09-05 20:24:29 +08:00
parent 3cc4c06e6a
commit 527807b581
1 changed files with 2 additions and 0 deletions

View File

@ -15,6 +15,8 @@ class MutablePsychomatrix(date: DateTime) : Psychomatrix(date) {
private val mutableOperationsHistory: MutableList<Operation> = ArrayList()
constructor(psychomatrix: Psychomatrix): this(psychomatrix.date)
val operationsHistory: List<Operation>
get() = mutableOperationsHistory