2010-12-04 16:14:34 +00:00
|
|
|
|
/********************************************************
|
|
|
|
|
* GameComponentCollectionEventArgs.h *
|
|
|
|
|
* *
|
|
|
|
|
* XFX GameComponentCollectionEventArgs definition *
|
|
|
|
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|
|
|
|
********************************************************/
|
|
|
|
|
#ifndef _XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|
|
|
|
|
#define _XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|
|
|
|
|
|
|
|
|
|
#include "Interfaces.h"
|
2011-11-07 01:29:50 +00:00
|
|
|
|
#include <System/EventArgs.h>
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
|
{
|
2011-11-07 01:29:50 +00:00
|
|
|
|
// Arguments used with events from the GameComponentCollection.
|
2012-09-28 20:36:02 +00:00
|
|
|
|
class GameComponentCollectionEventArgs : public EventArgs
|
2010-12-04 16:14:34 +00:00
|
|
|
|
{
|
|
|
|
|
private:
|
2012-03-29 22:02:43 +00:00
|
|
|
|
IGameComponent* _gameComponent;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
|
|
|
|
public:
|
2012-09-28 20:36:02 +00:00
|
|
|
|
IGameComponent* getGameComponent() const;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
|
2012-03-29 22:02:43 +00:00
|
|
|
|
GameComponentCollectionEventArgs(IGameComponent* gameComponent);
|
2012-09-28 20:36:02 +00:00
|
|
|
|
virtual ~GameComponentCollectionEventArgs() { }
|
|
|
|
|
|
|
|
|
|
int GetType() const;
|
2010-12-04 16:14:34 +00:00
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif //_XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|