Rectangle.java 352 B

12345678910111213141516171819
  1. package me.hammerle.snuviengine.util;
  2. public class Rectangle {
  3. private final int width;
  4. private final int height;
  5. public Rectangle(int width, int height) {
  6. this.width = width;
  7. this.height = height;
  8. }
  9. public int getWidth() {
  10. return width;
  11. }
  12. public int getHeight() {
  13. return height;
  14. }
  15. }