refactor AI system
This commit is contained in:
15
src/lib/ecs/component/BehaviorKind.h
Normal file
15
src/lib/ecs/component/BehaviorKind.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
// Identifies a ship behavior. Written into SelectedBehaviorComponent by the
|
||||
// AiSystem selection pass so each behavior's executor can tell whether it won.
|
||||
enum class BehaviorKind
|
||||
{
|
||||
None,
|
||||
Advance,
|
||||
Rally,
|
||||
Retreat,
|
||||
Attack,
|
||||
Repair,
|
||||
SalvageScrap,
|
||||
DeliverScrap
|
||||
};
|
||||
Reference in New Issue
Block a user