Definition at line 7 of file PhaseLocker.h.
Public Member Functions | |
| PhaseLocker () | |
| void | reset () |
| int | getLocked () const |
| void | decLock () |
| void | ensurePhases (int count) |
| Reserve game cycle for blocking animation. | |
|
|
Definition at line 14 of file PhaseLocker.cpp. 00015 {
00016 m_lockPhases = 0;
00017 }
|
|
|
Definition at line 30 of file PhaseLocker.cpp. 00031 {
00032 if (m_lockPhases > 0) {
00033 m_lockPhases--;
00034 }
00035 }
|
|
|
Reserve game cycle for blocking animation.
Definition at line 24 of file PhaseLocker.cpp. 00025 {
00026 m_lockPhases = max(m_lockPhases, count);
00027 }
|
|
|
Definition at line 13 of file PhaseLocker.h. 00013 { return m_lockPhases; }
|
|
|
Definition at line 12 of file PhaseLocker.h. 00012 { m_lockPhases = 0; }
|
1.4.2