示例#1
0
 public CircleShape init(ShapeRenderer.ShapeType type, float diameter) {
   super.init(type);
   this.radius = diameter / 2;
   return this;
 }
示例#2
0
 public RectShape init(ShapeRenderer.ShapeType type, float width, float height) {
   super.init(type);
   return size(width, height);
 }