IMS2
Pre-Alpha
An Orbiter add-on to allow on-runtime construction of spacecraft from predefined modules
|
Base event for all animation related events. No intended to be used directly. More...
Public Member Functions | |
AnimationEvent_Base (EVENTTYPE type, string animationid, int _delay) | |
string | GetAnimationId () |
virtual bool | operator== (Event_Base *e) |
Public Member Functions inherited from Event_Base | |
Event_Base (EVENTTYPE _type, unsigned int _delay=0) | |
EventHandler * | GetCaller () |
Returns the EventHandler at which this event originated. | |
virtual bool | operator!= (Event_Base *e) |
virtual bool | operator== (EVENTTYPE type) |
Allows to compare an event directly to an EVENTTYPE. More... | |
EVENTPIPE | GetEventPipe () |
Protected Attributes | |
string | animid |
Stores the identifier of the animation this event is aimed at. | |
Protected Attributes inherited from Event_Base | |
unsigned int | delay |
How many calls of ProcessEvents() on the event generator the event should be delayed. | |
EventHandler * | caller |
Stores the EventHandler at which the event originated. | |
EVENTTYPE | eventtype |
The type of this event. | |
EVENTPIPE | pipe |
The pipe the event travels in (unless it was relayed). This is set by the EventHandler itself. | |
Additional Inherited Members | |
Protected Member Functions inherited from Event_Base | |
virtual bool | sendMe () |
Used to determine whether the event should be sent by the event generator. More... | |
Base event for all animation related events. No intended to be used directly.
Animation events are special in that they carry the id of the animation they are aimed at. Animations will not listen to events that are not specifically addressed at them.
|
inline |
animationid | The string identifier of the animation the event is aimed at |
type | The event type fo the event |
_delay | How many frames the event should be delayed |
|
inline |
|
inlinevirtual |
e | The event to compare this event to |
Reimplemented from Event_Base.