defines.cpp 457 B

123456789101112131415161718192021222324252627282930
  1. #include "defines.h"
  2. GeneratorPhase::GeneratorPhase(int phase)
  3. : m_phase(phase)
  4. {
  5. ;
  6. }
  7. GeneratorPhase::GeneratorPhase()
  8. : m_phase(0)
  9. {
  10. ;
  11. }
  12. bool operator==(const GeneratorPhase & left,
  13. const GeneratorPhase & right)
  14. {
  15. return left.m_phase == right.m_phase;
  16. }
  17. bool operator!=(const GeneratorPhase & left,
  18. const GeneratorPhase & right)
  19. {
  20. return left.m_phase != right.m_phase;
  21. }