/**
 * @author Sebastien Paumier (paumier@univ-mlv.fr)
 * Copyright Universite Paris-Est Marne-la-Vallee
 */
package fr.umlv.ig.td5;

import java.awt.*;

public class Shape {

	private ShapeType type;
	private Color color;
	private int x;
	private int y;
	private int depth;
	private int size;
	private java.awt.Shape boundingShape;
	
	public Shape(ShapeType type, Color c, int x, int y, int depth,int size) {
		this.type=type;
		this.color=c;
		this.x=x;
		this.y=y;
		this.depth=depth;
		this.size=size;
		this.boundingShape=type.getShape(x,y,size);
	}

	
	public void paint(Graphics2D g) {
		/*
		 * A completer...
		 */
	}


	public Color getColor() {
		return color;
	}


	public int getDepth() {
		return depth;
	}


	public ShapeType getType() {
		return type;
	}


	public int getX() {
		return x;
	}


	public int getY() {
		return y;
	}
	
	public int getSize() {
		return size;
	}

	public java.awt.Shape getShape() {
		return boundingShape;
	}
	
}
