Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package rectangulos;
- public class Vertices {
- public Vertices(float n1, float n2){
- this.x = n1;
- this.y = n2;
- }
- public float x = 0.0f;
- public float y = 0.0f;
- public float getX() {
- return x;
- }
- public void setX(float x) {
- this.x = x;
- }
- public float getY() {
- return y;
- }
- public void setY(float y) {
- this.y = y;
- }
Add Comment
Please, Sign In to add comment