public class Toast
extends java.lang.Object
| Constructor | Description |
|---|---|
Toast(ChatComponent title,
ChatComponent description,
int displayTime) |
|
Toast(ResourceName icon,
ChatComponent title,
ChatComponent description,
int displayTime) |
| Modifier and Type | Method | Description |
|---|---|---|
ChatComponent |
getDescription() |
|
int |
getDisplayTime() |
|
float |
getHeight() |
|
float |
getMovementTime() |
|
ChatComponent |
getTitle() |
|
float |
getWidth() |
|
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
float x,
float y) |
public Toast(ChatComponent title, ChatComponent description, int displayTime)
public Toast(ResourceName icon, ChatComponent title, ChatComponent description, int displayTime)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, float x, float y)
public ChatComponent getTitle()
public ChatComponent getDescription()
public int getDisplayTime()
public float getHeight()
public float getWidth()
public float getMovementTime()