15 lines
233 B
Kotlin
15 lines
233 B
Kotlin
|
package net.shadowfacts.asmr.program
|
||
|
|
||
|
/**
|
||
|
* @author shadowfacts
|
||
|
*/
|
||
|
class ProgramBlockInput<Type: Any>(
|
||
|
val type: ProgramType<Type>,
|
||
|
var source: ProgramBlockOutput<Type>? = null
|
||
|
) {
|
||
|
|
||
|
val value: Type?
|
||
|
get() = source?.value
|
||
|
|
||
|
}
|