You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
agentseek/src/main/asl/camera_agent.asl: Added new behavior plans for the camera agent, including start_behavior, check_surroundings, alarm_agents, and monitor_player.
agentseek/src/main/asl/guard_agent.asl: Introduced new behavior plans for the guard agent, such as start, searchForPlayer, followEnemy, alertAllies, and defendBase.
agentseek/src/main/asl/hearing_agent.asl: Added behavior plans for the hearing agent, including start and searchForPlayer.
Enhancements to Sensor Components:
agentseek/src/main/kotlin/io/github/agentseek/components/NoiseSensorComponent.kt: Enhanced the NoiseSensorComponent to include new functionalities such as adding reactions and updating the visual representation of the noise sensor.
agentseek/src/main/kotlin/io/github/agentseek/components/SightSensorComponent.kt: Improved the SightSensorComponent by adding new methods to rotate and set the direction of the sensor, and enhanced the detection logic to filter out blacklisted names.
Refactoring and Code Improvements
agentseek/src/main/kotlin/io/github/agentseek/components/DistanceSensorComponent.kt: Refactored the DistanceSensorComponent to improve readability and performance by filtering out objects named "Player" from the collision detection.
agentseek/src/main/kotlin/io/github/agentseek/components/FieldMovementComponent.kt: Added new methods to control the movement direction and state of the FieldMovementComponent, and adjusted the maximum velocity.
agentseek/src/main/kotlin/io/github/agentseek/components/NoiseSensorVisualComponent.kt: Modified the NoiseSensorVisualComponent to react to noise detections and update the visual feedback accordingly.
New Utility Functions:
agentseek/src/main/kotlin/io/github/agentseek/components/common/ComponentsUtils.kt: Added a new utility function getRandomVelocity to calculate a random velocity for game objects based on their surroundings.