Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static abstract class Post extends RenderTooltipEvent
- {
- private final int width;
- private final int height;
- public Post(List<String> textLines, int x, int y, int width, int height)
- {
- super(textLines, x, y);
- this.width = width;
- this.height = height;
- }
- public int getWidth()
- {
- return width;
- }
- public int getHeight()
- {
- return height;
- }
- public static class Background extends Post
- {
- public Background(List<String> textLines, int x, int y, int width, int height) { super(textLines, x, y, width, height); }
- }
- public static class Text extends Post
- {
- public Text(List<String> textLines, int x, int y, int width, int height) { super(textLines, x, y, width, height); }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement