correction of defects and another two audio functions

This commit is contained in:
Roman Masanin
2020-09-27 03:35:15 +03:00
parent c403df0861
commit f67275be13
3 changed files with 68 additions and 51 deletions

View File

@ -104,7 +104,7 @@ public:
void SwitchOff(void);
void AddThisOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown);
bool IsActive() { return m_bIsActive; };
CVector GetPosition() { return m_midPoint; };
const CVector& GetPosition() const { return m_midPoint; };
};
class CEscalators
@ -116,7 +116,7 @@ public:
static void Update(void);
static void AddOne(CVector pos0, CVector pos1, CVector pos2, CVector pos3, bool b_isMovingDown);
static void Shutdown(void);
static CEscalator GetEscalator(int ind) { return aEscalators[ind]; };
static CEscalator& GetEscalator(int ind) { return aEscalators[ind]; };
};
class CMovingThing