ChaseConfig.ixx File
Configuration for AI chase behavior. More...
Included Headers
#include <cassert>
#include <helios.engine.ecs.EntityHandle>
#include <helios.engine.modules.ai.components.ChaseComponent>
#include <helios.util.Guid>
#include <helios.engine.ecs.GameObject>
Namespaces Index
| namespace | helios |
| namespace | engine |
|
Main engine module aggregating core infrastructure and game systems. More... | |
| namespace | builder |
|
Fluent builder pattern for constructing GameObjects. More... | |
| namespace | gameObject |
|
Factory and prototype classes for GameObject construction. More... | |
| namespace | builders |
|
Domain-specific builders for configuring different aspects of GameObjects. More... | |
| namespace | configs |
|
Fine-grained configuration classes for component setup. More... | |
Classes Index
| class | ChaseConfig |
|
Fluent configuration for AI chase behavior. More... | |
Description
Configuration for AI chase behavior.
File Listing
The file content with the documentation metadata removed is:
20export namespace helios::engine::builder::gameObject::builders::configs {
28 class ChaseConfig {
33 helios::engine::ecs::GameObject gameObject_;
42 explicit ChaseConfig(helios::engine::ecs::GameObject gameObject) : gameObject_(gameObject) {
53 ChaseConfig& target(const helios::engine::ecs::EntityHandle& entityHandle) {
54 assert(entityHandle.isValid() && "Unexpected invalid entityHandle");
55 gameObject_.getOrAdd<helios::engine::modules::ai::components::ChaseComponent>()
68 ChaseConfig& seekInterval(const float interval) {
69 gameObject_.getOrAdd<helios::engine::modules::ai::components::ChaseComponent>()
Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.15.0.