2013-07-12 21:30:13 +02:00
|
|
|
/*****************************************************************************
|
|
|
|
* GameComponentCollectionEventArgs.h *
|
|
|
|
* *
|
|
|
|
* XFX GameComponentCollectionEventArgs definition *
|
|
|
|
* Copyright (c) XFX Team. All Rights Reserved *
|
|
|
|
*****************************************************************************/
|
2013-05-05 18:18:41 +02:00
|
|
|
#ifndef _XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|
|
|
|
#define _XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|
|
|
|
|
|
|
|
#include "Interfaces.h"
|
|
|
|
#include <System/EventArgs.h>
|
|
|
|
|
|
|
|
namespace XFX
|
|
|
|
{
|
2013-07-12 21:30:13 +02:00
|
|
|
/**
|
|
|
|
* Arguments used with events from the GameComponentCollection.
|
|
|
|
*/
|
2013-05-05 18:18:41 +02:00
|
|
|
class GameComponentCollectionEventArgs : public EventArgs
|
|
|
|
{
|
|
|
|
private:
|
|
|
|
IGameComponent* _gameComponent;
|
|
|
|
|
|
|
|
public:
|
|
|
|
IGameComponent* getGameComponent() const;
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
GameComponentCollectionEventArgs(IGameComponent * const gameComponent);
|
2013-05-05 18:18:41 +02:00
|
|
|
virtual ~GameComponentCollectionEventArgs() { }
|
|
|
|
|
2013-07-12 21:30:13 +02:00
|
|
|
static const Type& GetType();
|
2013-05-05 18:18:41 +02:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif //_XFX_GAMECOMPONENTCOLLECTIONEVENTARGS_
|