// Increase predecessor's appendices count.
predecessor.increaseNumberOfDirectlyAttachedAppendices();
// Add sensor to agent.
this.angleSensor = new EvolvableBoxAgent3DSensorAngle(this.appendixId);
this.angleActuator = new EvolvableBoxAgent3DActuatorServo(this.appendixId);
this.getAgentCore().addSensor(this.angleSensor);
this.getAgentCore().addActuator(this.angleActuator);
//Add this appendix to HashMap.