package net.sf.arianne.marboard.server.entity.shape;
import marauroa.common.game.RPClass;
import marauroa.common.game.RPObject;
import marauroa.common.game.Definition.Type;
import net.sf.arianne.marboard.server.entity.Entity;
/**
* abstract base class for shapes with an area
*
* @author hendrik
*/
public abstract class FilledShape extends Entity {
/**
* creates a new FilledShape
*
* @param object RPObject
*/
public FilledShape(RPObject object) {
super(object);
}
/**
* creates a new FilledShape
*/
public FilledShape() {
// empty
}
/**
* generates the class definition for marauroa.
*/
public static void generateRPClass() {
final RPClass shape = new RPClass("filled_shape");
shape.isA("shape");
shape.addAttribute("fill_color", Type.INT);
}
}