DEADSOFTWARE

Update assets structure
[cavedroid.git] / core / src / ru / deadsoftware / cavedroid / game / actions / UseItemActionsModule.kt
index a54e4a77e31403e9e2f7c1583221af2a8ddf42f3..d5e4f4fa80c5cda9a10328c9834a9d4dc7ba089a 100644 (file)
@@ -28,19 +28,26 @@ class UseItemActionsModule {
 
     @Binds
     @IntoMap
-    @StringKey(PlaceBlockItemToForegroundAction.ACTION_KEY)
+    @StringKey(UseEmptyBucketAction.ACTION_KEY)
     @GameScope
-    fun bindPlaceBlockItemToForegroundAction(action: PlaceBlockItemToForegroundAction): IUseItemAction {
+    fun bindUseEmptyBucketAction(action: UseEmptyBucketAction): IUseItemAction {
         return action
     }
 
     @Binds
     @IntoMap
-    @StringKey(PlaceBlockItemToBackgroundAction.ACTION_KEY)
+    @StringKey(UsePigSpawnEggAction.ACTION_KEY)
     @GameScope
-    fun bindPlaceBlockItemToBackgroundAction(action: PlaceBlockItemToBackgroundAction): IUseItemAction {
+    fun bindUsePigSpawnEgg(action: UsePigSpawnEggAction): IUseItemAction {
         return action
     }
 
+    @Binds
+    @IntoMap
+    @StringKey(UseBedAction.ACTION_KEY)
+    @GameScope
+    fun bindUseBedAction(action: UseBedAction): IUseItemAction {
+        return action
+    }
 
 }