mirror of
https://github.com/InsanusMokrassar/PsychomatrixBase.git
synced 2024-11-15 04:43:58 +00:00
add constructor for MutablePsychomatrix from Psychomatrix
This commit is contained in:
parent
3cc4c06e6a
commit
527807b581
@ -15,6 +15,8 @@ class MutablePsychomatrix(date: DateTime) : Psychomatrix(date) {
|
|||||||
|
|
||||||
private val mutableOperationsHistory: MutableList<Operation> = ArrayList()
|
private val mutableOperationsHistory: MutableList<Operation> = ArrayList()
|
||||||
|
|
||||||
|
constructor(psychomatrix: Psychomatrix): this(psychomatrix.date)
|
||||||
|
|
||||||
val operationsHistory: List<Operation>
|
val operationsHistory: List<Operation>
|
||||||
get() = mutableOperationsHistory
|
get() = mutableOperationsHistory
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user