MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / pieces

Method pieces

src/main/java/field/graphics/FLine.java:2719–2733  ·  view source on GitHub ↗

for a line that has many moveTo's, split this up into lots of lines, each with one moveTo() @return

()

Source from the content-addressed store, hash-verified

2717 if (this.nodes.get(i).getClass() == MoveTo.class) {
2718 d = new FLine();
2719 d.attributes = this.attributes.duplicate(d);
2720 ff.add(d);
2721 }
2722
2723 d.nodes.add(this.nodes.get(i).duplicate());
2724 }
2725 return ff;
2726 }
2727}

Callers 2

FLineToPhysicsClass · 0.80
saveForRobotMethod · 0.80

Calls 4

getMethod · 0.65
duplicateMethod · 0.65
sizeMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected