diff options
author | Aki <please@ignore.pl> | 2023-04-27 00:36:46 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2024-04-05 19:41:19 +0200 |
commit | 61d16477b01bcfbe8c3a481a232658ac60309f57 (patch) | |
tree | 06882f5a1b7bc987826610736a5b606883df69b9 /sim/src/Builder.cpp | |
parent | 94d6d863e1b78766cdb5f286e3d9f374c02c5d33 (diff) | |
download | kurator-61d16477b01bcfbe8c3a481a232658ac60309f57.zip kurator-61d16477b01bcfbe8c3a481a232658ac60309f57.tar.gz kurator-61d16477b01bcfbe8c3a481a232658ac60309f57.tar.bz2 |
Extracted KeepAtRange action
It seems an abstraction level is of some kind is needed here. One thing
to handle "AI", another to handle primitive commands and their
execution.
Diffstat (limited to 'sim/src/Builder.cpp')
-rw-r--r-- | sim/src/Builder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/src/Builder.cpp b/sim/src/Builder.cpp index 4cf0bc6..2b2bd24 100644 --- a/sim/src/Builder.cpp +++ b/sim/src/Builder.cpp @@ -42,7 +42,7 @@ Builder::operator()(const universe::ShipType& ship_type, const int team) const ship_type.max_speed, ship_type.max_speed * 2.0, ship_type.max_speed * 3.0); - registry.emplace<AIShip>(entity, 15000.0, Point{0.0, 0.0}); + registry.emplace<AIShip>(entity); registry.emplace<HitPoints>(entity, ship_type); return entity; } |