aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/AI.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/AI.h')
-rw-r--r--src/crepe/api/AI.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/crepe/api/AI.h b/src/crepe/api/AI.h
index 242ff89..046426d 100644
--- a/src/crepe/api/AI.h
+++ b/src/crepe/api/AI.h
@@ -16,7 +16,7 @@ public:
};
public:
- AI(game_object_id_t id, float mass, float max_speed, float max_force);
+ AI(game_object_id_t id, float max_force);
bool on(BehaviorType behavior) const { return (flags & behavior) == behavior; }
void seek_on() { flags |= SEEK; }
@@ -37,8 +37,6 @@ public:
}
public:
- float mass;
- float max_speed;
float max_force;
// The target to seek or arrive at
@@ -51,9 +49,6 @@ public:
float arrive_deceleration = 2.0f;
private:
- vec2 velocity;
- friend class AISystem;
-
int flags = 0;
};