Changeset 5893
- Timestamp:
- Oct 6, 2009, 1:55:05 PM (15 years ago)
- Location:
- code/branches/core5/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core5/src/libraries/core/EventIncludes.h
r5888 r5893 82 82 @brief This macro is needed to fire an event with this name. The event name must previously be declared with @ref CreateEventName. 83 83 */ 84 #define EventName(classname, name) \84 #define FireEventName(classname, name) \ 85 85 eventname##classname##name 86 86 -
code/branches/core5/src/modules/pong/Pong.cc
r5889 r5893 160 160 { 161 161 if (player == this->getRightPlayer()) 162 this->center_->fireEvent( EventName(PongCenterpoint, right));162 this->center_->fireEvent(FireEventName(PongCenterpoint, right)); 163 163 else if (player == this->getLeftPlayer()) 164 this->center_->fireEvent( EventName(PongCenterpoint, left));164 this->center_->fireEvent(FireEventName(PongCenterpoint, left)); 165 165 166 166 if (player)
Note: See TracChangeset
for help on using the changeset viewer.