コード例 #1
0
ファイル: ShapeTable.java プロジェクト: narfman0/GDXWorld
 public GDXShape apply(GDXShape shape) {
   shape.setDensity(Float.parseFloat(densityField.getText()));
   shape.setFriction(Float.parseFloat(frictionField.getText()));
   shape.setResource(resourceField.getText());
   shape.setRestitution(Float.parseFloat(restitutionField.getText()));
   shape.setFilter(filterTable.createFilterFromUI());
   shape.setTag(tagField.getText());
   return shape;
 }