/[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.88 by ant_39, Sun Jun 8 10:15:14 2003 UTC revision 1.89 by ant_39, Sun Jun 8 11:08:36 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  {  {}
     cout << "Floor::Floor(); " << ++ctr << endl;  
 }  
252    
253  Floor::Floor (const FloorTraits &tr)  Floor::Floor (const FloorTraits &tr)
254  : TGridObject<GRID_FLOOR>(tr.name), traits (tr)  : TGridObject<GRID_FLOOR>(tr.name), traits (tr)
255  {  {}
     cout << "Floor::Floor();" << ++ctr << endl;  
 }  
   
 Floor::~Floor()  
 {  
     cout << "Floor::~Floor();" << --ctr << endl;  
 }  
   
256    
257  Floor *Floor::clone() {  Floor *Floor::clone() {
258      return this;      return this;

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

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