MCPcopy Create free account
hub / github.com/Hypnotic-Development/Hypnotic-Client / Frame

Method Frame

src/main/java/dev/hypnotic/ui/Frame.java:44–55  ·  view source on GitHub ↗
(String title, int x, int y, int width, int height, Button...b)

Source from the content-addressed store, hash-verified

42 public Color color = Color.decode(ColorUtils.pingle);
43
44 public Frame(String title, int x, int y, int width, int height, Button...b) {
45 this.buttons = Lists.newArrayList();
46 this.title = title;
47 this.x = x;
48 this.y = y;
49 this.width = width;
50 this.height = height;
51
52 for (Button b1 : b) {
53 this.buttons.add(b1);
54 }
55 }
56
57 float animTicks = 0;
58 int length = 0;

Callers

nothing calls this directly

Calls 1

addMethod · 0.65

Tested by

no test coverage detected