refactor AI system
This commit is contained in:
11
src/lib/ecs/system/ai/AdvanceExecutor.h
Normal file
11
src/lib/ecs/system/ai/AdvanceExecutor.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#pragma once
|
||||
|
||||
class EntityAdmin;
|
||||
|
||||
// Moves a ship toward the opposing side when Advance is the winning behavior:
|
||||
// player ships advance toward +x (the enemy), enemy ships toward -x (the base).
|
||||
class AdvanceExecutor
|
||||
{
|
||||
public:
|
||||
void execute(EntityAdmin& admin);
|
||||
};
|
||||
Reference in New Issue
Block a user