コード例 #1
0
ファイル: DebugShape.java プロジェクト: piotr-j/tastyjam
 public CircleShape init(ShapeRenderer.ShapeType type, float diameter) {
   super.init(type);
   this.radius = diameter / 2;
   return this;
 }
コード例 #2
0
ファイル: DebugShape.java プロジェクト: piotr-j/tastyjam
 public RectShape init(ShapeRenderer.ShapeType type, float width, float height) {
   super.init(type);
   return size(width, height);
 }