package com.aionemu.gameserver.model.templates;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;
/**
* @author ATracer
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "BoundRadius")
public class BoundRadius {
@XmlAttribute
private float front;
@XmlAttribute
private float side;
@XmlAttribute
private float upper;
public static final BoundRadius DEFAULT = new BoundRadius(0f, 0f, 0f);
public BoundRadius() {
}
public BoundRadius(float front, float side, float upper) {
this.front = front;
this.side = side;
this.upper = upper;
}
public float getFront() {
return front;
}
public float getSide() {
return side;
}
public float getMaxOfFrontAndSide() {
return Math.max(front, side);
}
public float getUpper() {
return upper;
}
}