[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / actions / UpdateBlockActionsModule.kt
diff --git a/core/src/ru/deadsoftware/cavedroid/game/actions/UpdateBlockActionsModule.kt b/core/src/ru/deadsoftware/cavedroid/game/actions/UpdateBlockActionsModule.kt
index 5dcfe0e72a80c987a6ac3227190855570d89e804..6f0fc0fcae365668b884095a250377119b6a18d4 100644 (file)
fun bindUpdateSnowedGrassAction(action: UpdateSnowedGrassAction): IUpdateBlockAction {
return action;
}
fun bindUpdateSnowedGrassAction(action: UpdateSnowedGrassAction): IUpdateBlockAction {
return action;
}
+
+ @Binds
+ @IntoMap
+ @StringKey(UpdateBedLeftAction.BLOCK_KEY)
+ @GameScope
+ fun bindUpdateBedLeftAction(action: UpdateBedLeftAction): IUpdateBlockAction {
+ return action;
+ }
+
+ @Binds
+ @IntoMap
+ @StringKey(UpdateBedRightAction.BLOCK_KEY)
+ @GameScope
+ fun bindUpdateBedRightAction(action: UpdateBedRightAction): IUpdateBlockAction {
+ return action;
+ }
}
\ No newline at end of file
}
\ No newline at end of file