package net.sf.arianne.marboard.server.entity.shape;
import marauroa.common.game.RPClass;
import marauroa.common.game.RPObject;
/**
* a dot
*
* @author hendrik
*/
public class Dot extends Shape {
/**
* creates a Dot
*
* @param object RPObject
*/
public Dot(RPObject object) {
super(object);
}
/**
* creates a Dot
*
* @param color color
* @param thickness thickness
* @param x x
* @param y y
* @param z z-index
*/
public Dot(int color, int thickness, int x, int y, int z) {
this(color, thickness, x, y);
put("z", z);
}
/**
* creates a Dot
*
* @param color color
* @param thickness thickness
* @param x x
* @param y y
*/
public Dot(int color, int thickness, int x, int y) {
setRPClass("dot");
put("color", color);
put("thickness", thickness);
put("x", x);
put("y", y);
}
/**
* generates the class definition for marauroa.
*/
public static void generateRPClass() {
final RPClass shape = new RPClass("dot");
shape.isA("shape");
}
}