You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
578 B
Kotlin
16 lines
578 B
Kotlin
package me.eater.hefbrug.definition
|
|
|
|
import me.eater.hefbrug.dsl.context.DefinitionContextSkeleton
|
|
import me.eater.hefbrug.state.AbstractState
|
|
|
|
abstract class AbstractDefinition<S : AbstractState, C : DefinitionContextSkeleton<S>>(
|
|
override val key: DefinitionKey,
|
|
override val state: S
|
|
) : DefinitionSkeleton<S, C> {
|
|
override val id: String get() = state.id
|
|
override val require: MutableSet<DefinitionKey> = mutableSetOf()
|
|
override val before: MutableSet<DefinitionKey> = mutableSetOf()
|
|
override val after: MutableSet<DefinitionKey> = mutableSetOf()
|
|
}
|
|
|