This commit is contained in:
2025-05-13 02:46:21 +03:00
parent 143e16692e
commit 86914b7fcc
610 changed files with 92343 additions and 2 deletions
+31
View File
@@ -0,0 +1,31 @@
#ifndef INodeQuery_h__
#define INodeQuery_h__
#include "queries/IQuery.h"
#include "IGraphicsNode.h"
#include <vector>
namespace LifeGraphics
{
class INodeQuery : public IQuery
{
public:
void Flush()
{
nodes.clear();
}
void AddNode(IGraphicsNode* node)
{
nodes.push_back(node);
}
int Size()
{
return nodes.size();
}
protected:
typedef std::vector<IGraphicsNode*> NodeList;
NodeList nodes;
};
}
#endif // INodeQuery_h__