7 #include "VectorMath.h"
23 float m_carriageOffset;
24 const std::string &m_modelName;
25 std::string m_fullModelNodeName;
28 TrainCarriage(
TrainVehicle* parentVehicle,
const std::string& modelName,
const std::string& modelNameSuffix,
float carriageOffset);
30 const Eegeo::dv3& GetWorldPosition()
const {
return m_followPosition; }
31 const Eegeo::v3& GetForwardsVector()
const {
return m_followDirection; }
33 const std::string& GetFullModelNodeName()
const {
return m_fullModelNodeName; }
36 bool GetInitialised() {
return true; }
37 void ClearNextCell() { };
38 void Update(
float elapsedSeconds,
float speedMultiplier,
const dv3& ecefInterestPoint);
39 void Initialise(
const dv3& ecefInterestPoint) { };
41 bool VehicleMarkedToRemove();
42 void FadeOutThenDestroyVehicle() { }
43 bool IsPlayingDeathCeremony() {
return false; }
44 float GetBoundsRadius()
const;
45 float GetCollisionRadius()
const;
46 float GetScale()
const;
47 bool CanCollide()
const;
48 void SetModelNodeNameSuffix(
const std::string &suffix);
50 bool IsUnderground()
const;
51 bool NeedsUndergroundCheck();
52 void SetIsUnderground(
bool isUnderground);