Changeset 8200 for code/branches/portals/src/modules/portals/PortalLink.cc
- Timestamp:
- Apr 7, 2011, 12:55:24 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/portals/src/modules/portals/PortalLink.cc
r8199 r8200 7 7 CreateFactory(PortalLink); 8 8 9 PortalLink::PortalLink(BaseObject* creator) : BaseObject(creator), fromID_(0), toID_(0), from_(0), to_(0), activationRadius_(20)9 PortalLink::PortalLink(BaseObject* creator) : EventListener(creator), fromID_(0), toID_(0), from_(0), to_(0), activationRadius_(20) 10 10 { 11 11 RegisterObject(PortalLink); … … 32 32 void PortalLink::tick(float dt) 33 33 { 34 SUPER(PortalLink, tick )34 SUPER(PortalLink, tick, dt); 35 35 } 36 36 37 37 void PortalLink::processEvent(Event& event) 38 38 { 39 SUPER(PortalLink, processEvent);39 EventListener::processEvent(event); 40 40 if(!event.activate_) 41 41 { … … 53 53 return; 54 54 } 55 to_->jumpOut(e ntity);55 to_->jumpOut(eventEntity); 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.