MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / intersectsX

Method intersectsX

src/main/java/field/utility/Rect.java:133–135  ·  view source on GitHub ↗
(double x)

Source from the content-addressed store, hash-verified

131 }
132
133 public boolean intersectsX(double x) {
134 return (x>=this.x && x<this.x+this.w);
135 }
136 public boolean intersectsY(double y) {
137 return (y>=this.y && y<this.y+this.h);
138 }

Callers 3

performMethod · 0.45
intersectsWithMethod · 0.45
intersectsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected