Oxygine  1
2g game engine
Public Types | Public Member Functions | Public Attributes | List of all members
oxygine::Event Class Reference
Inheritance diagram for oxygine::Event:
oxygine::AsyncTaskEvent oxygine::EmscSyncFsEvent oxygine::HttpRequestTask::ProgressEvent oxygine::KeyEvent oxygine::SlidingActor::SlidingEvent oxygine::TouchEvent oxygine::TweenEvent

Public Types

enum  { COMPLETE = sysEventID('C', 'M', 'P') }
 
enum  Phase { phase_capturing = 1, phase_target, phase_bubbling }
 

Public Member Functions

 Event (eventType Type, bool Bubbles=false)
 
void stopPropagation ()
 
void stopImmediatePropagation ()
 
void removeListener ()
 

Public Attributes

eventType type
 
Phase phase
 
bool bubbles
 
bool stopsImmediatePropagation
 
bool stopsPropagation
 
void * userData
 
spObject userDataObject
 
int listenerID
 
spEventDispatcher target
 
spEventDispatcher currentTarget
 

Member Function Documentation

§ removeListener()

void oxygine::Event::removeListener ( )
inline

removes self from EventDispatcher, usage example actor->addEventListener(...buttonClicked...); void buttonClicked(Event* ev) { ev->removeListener(); }


The documentation for this class was generated from the following file: