public class Toast
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected int |
color |
protected int |
colorOutline |
protected int |
guiColor |
| Constructor and Description |
|---|
Toast(ChatComponent title,
ChatComponent description,
int displayTime) |
Toast(IResourceName icon,
ChatComponent title,
ChatComponent description,
int displayTime) |
| Modifier and Type | Method and Description |
|---|---|
ChatComponent |
getDescription() |
int |
getDisplayTime() |
float |
getHeight() |
ChatComponent |
getTitle() |
float |
getWidth() |
void |
render(IGameInstance game,
IAssetManager manager,
IGraphics g,
float x,
float y) |
protected final int guiColor
protected final int color
protected final int colorOutline
public Toast(ChatComponent title, ChatComponent description, int displayTime)
public Toast(IResourceName icon, ChatComponent title, ChatComponent description, int displayTime)
public void render(IGameInstance game, IAssetManager manager, IGraphics g, float x, float y)
public ChatComponent getTitle()
public ChatComponent getDescription()
public int getDisplayTime()
public float getHeight()
public float getWidth()