/TGame/TCommon/Gene/Status/GEDaze.h

http://awoe.googlecode.com/ · C Header · 37 lines · 11 code · 8 blank · 18 comment · 0 complexity · b01b5fbf6c4a0c11f4e7721899e6ca9e MD5 · raw file

  1. ///////////////////////////////////////////////////////////////////////////////////////////////////
  2. // GEDaze.h
  3. // 2010?1?20?
  4. // Copyright ?2007, 2010, 8DWorld, Inc. All rights reserved.
  5. //
  6. //
  7. ///////////////////////////////////////////////////////////////////////////////////////////////////
  8. #ifndef GEDaze_H
  9. #define GEDaze_H
  10. #include "GEStatus.h"
  11. /**
  12. * GEDaze
  13. * can only cast melee spell in this state
  14. *
  15. */
  16. class TCOM_API GEDaze : public GEStatus
  17. {
  18. public:
  19. GEDaze();
  20. //
  21. // Fire when the gene is attached on a unit. just like unit enter the state.
  22. //
  23. virtual bool onAttach();
  24. //
  25. // Fire when the gene is attached on a unit. just like unit enter the state.
  26. //
  27. virtual bool onDetach();
  28. };
  29. #endif // GEDaze_H