Package de.ellpeck.rockbottom.api.toast
Class ItemToast
java.lang.Object
de.ellpeck.rockbottom.api.toast.BasicToast
de.ellpeck.rockbottom.api.toast.ItemToast
- All Implemented Interfaces:
IToast
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<ChatComponent>protected final List<ItemInstance>Fields inherited from class de.ellpeck.rockbottom.api.toast.BasicToast
description, displayTime, icon, title -
Constructor Summary
ConstructorsConstructorDescriptionItemToast(List<ItemInstance> items, ChatComponent title, List<ChatComponent> descriptions, int displayTime) -
Method Summary
Modifier and TypeMethodDescriptionvoidrender(IGameInstance game, IAssetManager manager, IRenderer g, float x, float y) Methods inherited from class de.ellpeck.rockbottom.api.toast.BasicToast
getDescription, getDisplayTime, getHeight, getMovementTime, getTitle, getWidth
-
Field Details
-
items
-
descriptions
-
-
Constructor Details
-
ItemToast
public ItemToast(List<ItemInstance> items, ChatComponent title, List<ChatComponent> descriptions, int displayTime)
-
-
Method Details
-
render
- Specified by:
renderin interfaceIToast- Overrides:
renderin classBasicToast
-