Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean zawiera (Point p) {
- Rectangle tenQuad = new Rectangle ((int)x-(nbok/2), (int)y-(nbok/2), nbok, nbok);
- if (tenQuad.contains(p))
- return true;
- else return false;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement