kulesz
Member
|
Grid access
Hi,
How can I set a single cell (in specific position) of a grid defined as:
Code:
class SomeClass
{
// foo
};
Grid<SomeClass*> *SomeClassGrid;
|
|
08-24-2011 07:12 AM |
|
kulesz
Member
|
RE: Grid access
And how to iterate through existing elements of such grid?
|
|
08-24-2011 05:55 PM |
|
komarEX
Member
|
RE: Grid access
How to use Grid? I cannot find any sample tutorial for it. I have problems with declaration of it.
|
|
04-24-2012 03:48 PM |
|
Esenthel
Administrator
|
RE: Grid access
I believe you need to check into the grid.h header file, methods like "func" and "funcCreate" will iterate. SomeClassGrid->get(x,y) gives you access to a cell element
I recommend Grid<SomeClass> instead of Grid<SomeClass*>
|
|
04-26-2012 06:09 AM |
|