...
 
Commits (1)
......@@ -327,7 +327,7 @@ namespace TRC
return *n;
}
void clean()
void prepare()
{
c[2] = c[1];
c[1] = c[0];
......@@ -386,10 +386,10 @@ namespace TRC
int attach(Entity* e, const char* n, unsigned short k = 1, char c = NC);
int clean()
int prepare()
{
int n = v.size();
for(int i=0;i<n;i++) v[i]->clean();
for(int i=0;i<n;i++) v[i]->prepare();
return n;
}
......
......@@ -94,6 +94,6 @@ int main()
i2 = at("single2");
}
} u1;
sys->clean();
sys->prepare();
u1.step();
}