public class ToastItem extends ToastBasic
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<ChatComponent> |
descriptions |
protected java.util.List<ItemInstance> |
items |
description, displayTime, icon, title| Constructor and Description |
|---|
ToastItem(java.util.List<ItemInstance> items,
ChatComponent title,
java.util.List<ChatComponent> descriptions,
int displayTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
float x,
float y) |
getDescription, getDisplayTime, getHeight, getMovementTime, getTitle, getWidthprotected final java.util.List<ItemInstance> items
protected final java.util.List<ChatComponent> descriptions
public ToastItem(java.util.List<ItemInstance> items, ChatComponent title, java.util.List<ChatComponent> descriptions, int displayTime)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, float x, float y)
render in interface IToastrender in class ToastBasic