/[enigma]/enigma/src/objects.cc
ViewVC logotype

Diff of /enigma/src/objects.cc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.87 by ant_39, Sat Jun 7 15:21:07 2003 UTC revision 1.88 by ant_39, Sun Jun 8 10:15:14 2003 UTC
# Line 244  GridObject::warning(const char *format, Line 244  GridObject::warning(const char *format,
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    

Legend:
Removed from v.1.87  
changed lines
  Added in v.1.88

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26