244 |
//====================================================================== |
//====================================================================== |
245 |
// FLOORS |
// FLOORS |
246 |
//====================================================================== |
//====================================================================== |
247 |
|
static long ctr = 0; |
248 |
Floor::Floor(const char *kind, double friction_, double mfactor) |
Floor::Floor(const char *kind, double friction_, double mfactor) |
249 |
: TGridObject<GRID_FLOOR>(kind), |
: TGridObject<GRID_FLOOR>(kind), |
250 |
traits (kind, friction_, mfactor, FLOOR_Normal) |
traits (kind, friction_, mfactor, FLOOR_Normal) |
251 |
{ |
{ |
252 |
|
cout << "Floor::Floor(); " << ++ctr << endl; |
253 |
} |
} |
254 |
|
|
255 |
Floor::Floor (const FloorTraits &tr) |
Floor::Floor (const FloorTraits &tr) |
256 |
: TGridObject<GRID_FLOOR>(tr.name), traits (tr) |
: TGridObject<GRID_FLOOR>(tr.name), traits (tr) |
257 |
{ |
{ |
258 |
|
cout << "Floor::Floor();" << ++ctr << endl; |
259 |
|
} |
260 |
|
|
261 |
|
Floor::~Floor() |
262 |
|
{ |
263 |
|
cout << "Floor::~Floor();" << --ctr << endl; |
264 |
} |
} |
265 |
|
|
266 |
|
|