mirror of
https://github.com/Halofreak1990/XFXFramework
synced 2024-12-26 13:49:34 +01:00
32 lines
776 B
C
32 lines
776 B
C
|
/********************************************************
|
|||
|
* GameComponentCollection.h *
|
|||
|
* *
|
|||
|
* XFX GameComponentCollection definition file *
|
|||
|
* Copyright <EFBFBD> XFX Team. All Rights Reserved *
|
|||
|
********************************************************/
|
|||
|
#ifndef _XFX_GAMECOMPONENTCOLLECTION_
|
|||
|
#define _XFX_GAMECOMPONENTCOLLECTION_
|
|||
|
|
|||
|
#include "Interfaces.h"
|
|||
|
|
|||
|
namespace XFX
|
|||
|
{
|
|||
|
|
|||
|
/// <summary>
|
|||
|
/// A collection of game components.
|
|||
|
/// </summary>
|
|||
|
class GameComponentCollection
|
|||
|
{
|
|||
|
protected:
|
|||
|
void ClearItems();
|
|||
|
void InsertItem(int index, IGameComponent* item);
|
|||
|
void RemoveItem(int index);
|
|||
|
void SetItem(int index, IGameComponent* item);
|
|||
|
|
|||
|
public:
|
|||
|
GameComponentCollection();
|
|||
|
};
|
|||
|
}
|
|||
|
|
|||
|
#endif //_XFX_GAMECOMPONENTCOLLECTION_
|