#ifndef _FG_AIEntity_HXX
#define _FG_AIEntity_HXX
-#include <Model/model.hxx>
#include <plib/sg.h>
#include <plib/ssg.h>
+
#include <simgear/math/point3d.hxx>
+#include <simgear/scene/model/model.hxx>
+#include <simgear/scene/model/placement.hxx>
/*****************************************************************
// Run the internal calculations
virtual void Update(double dt);
- // Send a transmission *TO* the AIEntity.
- // FIXME int code is a hack - eventually this will receive Alexander's coded messages.
- virtual void RegisterTransmission(int code);
+ // Send a transmission *TO* the AIEntity.
+ // FIXME int code is a hack - eventually this will receive Alexander's coded messages.
+ virtual void RegisterTransmission(int code);
+
+ inline Point3D GetPos() { return(pos); }
protected:
double pitch; //degrees
char* model_path; //Path to the 3D model
- FGModelPlacement aip;
+ SGModelPlacement aip;
void Transform();
};