MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / setBounds

Method setBounds

Mod Utils/src/eu/the5zig/mod/util/Rectangle.java:35–40  ·  view source on GitHub ↗
(int x, int y, int w, int h)

Source from the content-addressed store, hash-verified

33 }
34
35 public void setBounds(int x, int y, int w, int h) {
36 this.x = x;
37 this.y = y;
38 this.width = w;
39 this.height = h;
40 }
41
42 public void translate(int x, int y) {
43 this.x += x;

Callers 4

intersectionMethod · 0.80
initMethod · 0.80
initMethod · 0.80
initMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected