Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.reaganmcf.parse;
- public class Rectangle {
- int xPos;
- int yPos;
- int width;
- int height;
- int xOffset;
- public Rectangle(int xPos, int yPos, int width, int height, int xOffset) {
- this.xPos = xPos;
- this.yPos = yPos;
- this.width = width;
- this.height = height;
- this.xOffset = xOffset;
- }
- public int getXPos() {
- return xPos;
- }
- public int getYPos() {
- return yPos;
- }
- public int getWidth() {
- return width;
- }
- public int getHeight() {
- return height;
- }
- public int getXOffset() {
- return xOffset;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement