public interface Activity
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets the name of this activity.
|
void |
renderIcon(GraphicsContext g,
int x,
int y,
int size)
Renders the icon of this activity.
|
void |
show()
Shows this activity.
|
String getName()
void renderIcon(GraphicsContext g, int x, int y, int size)
g
- the graphics context to draw with.x
- the x coordinate of the region to draw in.y
- the y coordinate of the region to draw in.size
- the width and height of the region to draw in.void show()