DEADSOFTWARE

Add bed
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / actions / UpdateBlockActionsModule.kt
index be841273c873ed9878133a341d692a39e8144db7..6f0fc0fcae365668b884095a250377119b6a18d4 100644 (file)
@@ -41,4 +41,28 @@ class UpdateBlockActionsModule {
     fun bindUpdateGrassAction(action: UpdateGrassAction): IUpdateBlockAction {
         return action;
     }
+
+    @Binds
+    @IntoMap
+    @StringKey(UpdateSnowedGrassAction.BLOCK_KEY)
+    @GameScope
+    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