Start working on dumping the world (to a JSON file) for debug purposes.
This commit is contained in:
@@ -24,6 +24,11 @@ public:
|
||||
|
||||
return (fmod(value, 2) == 0)?this->a:this->b;
|
||||
}
|
||||
|
||||
void dumpMe(FILE *fp) {
|
||||
fprintf(fp, "\"Type\": \"Ring\"\n");
|
||||
Pattern::dumpMe(fp);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user