6 #include "WorldStates.h"
8 #include "IChangeStateCallback.h"
9 #include "VectorMathDecl.h"
11 #include "IStreamingVolume.h"
20 WorldStateManager(
const std::vector<IWorldState*>& states,
const std::vector<float>& progressBarAtStateStarts);
24 void RequestChangeState();
28 const dv3& ecefInterestPoint,
31 bool IsInLastState()
const;
32 float GetProgress()
const;
36 void AddState(
IWorldState* stateToAdd,
float progressBarAtStateStart,
float progressBarAtStateEnd);
47 float progressBarAtStateStart;
48 float progressBarAtStateEnd;
50 StateEntry(
IWorldState* state,
float progressBarAtStateStart,
float progressBarAtStateEnd)
51 : state(state), progressBarAtStateStart(progressBarAtStateStart), progressBarAtStateEnd(progressBarAtStateEnd)
54 typedef std::vector<StateEntry> TWorldStatesVec;
55 TWorldStatesVec m_worldStates;
58 bool m_stateChangeRequested;