Beispiel #1
0
 private void SetAnimationStateFlag(eAnimationState in_flag, bool in_isOver)
 {
     if (in_isOver)
     {
         SetAnimationFlag(in_flag);
     }
     else
     {
         UnsetAnimationFlag(in_flag);
     }
 }
Beispiel #2
0
 private void ToggleAnimationFlag(eAnimationState in_flag)
 {
     m_currentState = m_currentState ^ in_flag;
 }
Beispiel #3
0
 private void UnsetAnimationFlag(eAnimationState in_flag)
 {
     m_currentState = m_currentState & (~in_flag);
 }
Beispiel #4
0
 private void SetAnimationFlag(eAnimationState in_flag)
 {
     m_currentState = m_currentState | in_flag;
 }
Beispiel #5
0
 // Works with "None" as well
 protected bool HasFlag(eAnimationState in_flag)
 {
     return((m_currentState & in_flag) == in_flag);
 }