Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package graphics;
- import java.awt.Color;
- public class Cube {
- public int width;
- public int height;
- public int x;
- public int y;
- public Color color;
- public Cube(int width, int height, Color color, int x, int y){
- this.width = width;
- this.height = height;
- this.x = x;
- this.y = y;
- this.color = color;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement