public class Toast
extends java.lang.Object
| 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,
org.newdawn.slick.Graphics g,
float x,
float y) |
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, org.newdawn.slick.Graphics g, float x, float y)
public ChatComponent getTitle()
public ChatComponent getDescription()
public int getDisplayTime()
public float getHeight()
public float getWidth()