| Modifier and Type | Field and Description |
|---|---|
protected ChatComponent |
description |
protected int |
displayTime |
protected ResourceName |
icon |
protected ChatComponent |
title |
| Constructor and Description |
|---|
ToastBasic(ChatComponent title,
ChatComponent description,
int displayTime) |
ToastBasic(ResourceName icon,
ChatComponent title,
ChatComponent description,
int displayTime) |
| Modifier and Type | Method and Description |
|---|---|
protected ChatComponent |
getDescription() |
int |
getDisplayTime() |
float |
getHeight() |
float |
getMovementTime() |
protected ChatComponent |
getTitle() |
float |
getWidth() |
void |
render(IGameInstance game,
IAssetManager manager,
IRenderer g,
float x,
float y) |
protected final ResourceName icon
protected final ChatComponent title
protected final ChatComponent description
protected final int displayTime
public ToastBasic(ChatComponent title, ChatComponent description, int displayTime)
public ToastBasic(ResourceName icon, ChatComponent title, ChatComponent description, int displayTime)
public void render(IGameInstance game, IAssetManager manager, IRenderer g, float x, float y)
protected ChatComponent getTitle()
protected ChatComponent getDescription()
public int getDisplayTime()
getDisplayTime in interface IToastpublic float getMovementTime()
getMovementTime in interface IToast