diff options
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt')
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt b/src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt index 1e7a6a8..a4542e7 100644 --- a/src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt +++ b/src/main/kotlin/moe/nea/firmament/events/subscription/Subscription.kt @@ -8,8 +8,11 @@ package moe.nea.firmament.events.subscription import moe.nea.firmament.events.FirmamentEvent import moe.nea.firmament.events.FirmamentEventBus +import moe.nea.firmament.features.FirmamentFeature -interface SubscriptionOwner +interface SubscriptionOwner { + val delegateFeature: FirmamentFeature +} data class Subscription<T : FirmamentEvent>( val owner: SubscriptionOwner, |