Minor change in event.h.

This commit is contained in:
David Capello 2011-01-27 18:38:27 -03:00
parent 85203205b8
commit 40df2e1d73

View File

@ -12,20 +12,18 @@ class Component;
// Base class for every kind of event.
class Event
{
// The component which generates the event.
Component* m_source;
public:
// Creates a new event specifying that it was generated from the
// source component.
Event(Component* source);
virtual ~Event();
// Returns the component which generated the event.
Component* getSource();
private:
// The component which generates the event.
Component* m_source;
};
#endif