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