28 lines
595 B
C++
28 lines
595 B
C++
|
|
#ifndef _ArenaCountDirecting_h_
|
|
#define _ArenaCountDirecting_h_
|
|
|
|
/*
|
|
아레나 대기 시간 연출
|
|
*/
|
|
struct sArenaWaitingCountDirecting
|
|
{
|
|
public:
|
|
sArenaWaitingCountDirecting() : m_enable(false) {}
|
|
void process(unsigned int time, bool& isEnd);
|
|
bool isEnable() const;
|
|
void start();
|
|
void end();
|
|
int getCount() const { return (int)m_count; }
|
|
void setCount(float count) { m_count = count; }
|
|
bool isStaring() const { return m_enable; }
|
|
|
|
private:
|
|
float m_count;
|
|
bool m_enable; /// 최소 인원 조건이 만족해야만 카운트가 시작 된다.
|
|
unsigned int m_time;
|
|
};
|
|
|
|
|
|
|
|
#endif |