add collections
add pointers
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
#include "grid.h"
|
||||
|
||||
int calculateIndex(int x, int y)
|
||||
{
|
||||
return x + y * COLUMNS;
|
||||
}
|
||||
Reference in New Issue
Block a user