addPath method

bool addPath(
  1. ActorBasePath path
)

Implementation

bool addPath(ActorBasePath path) {
  if (_paths.contains(path)) {
    return false;
  }
  _paths.add(path);
  return true;
}