touchpointNamed method
The touchpoint with name, or null.
Implementation
WorldTouchpoint? touchpointNamed(String name) {
for (final t in touchpoints) {
if (t.name == name) return t;
}
return null;
}
The touchpoint with name, or null.
WorldTouchpoint? touchpointNamed(String name) {
for (final t in touchpoints) {
if (t.name == name) return t;
}
return null;
}