refactor AI system
This commit is contained in:
9
src/lib/ecs/component/AdvanceBehavior.h
Normal file
9
src/lib/ecs/component/AdvanceBehavior.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
// Baseline fallback behavior, present on every ship. The executor moves the ship
|
||||
// toward the opposing side (direction derived from FactionComponent), so a ship
|
||||
// with no better behavior keeps advancing.
|
||||
struct AdvanceBehavior
|
||||
{
|
||||
float score = 0.0f;
|
||||
};
|
||||
Reference in New Issue
Block a user