topical media & game development 
  
 
 
 
 
  
    
    
  
professional-program-19-ObjectPoolTest-Serial.c
? / 
professional-program-19-ObjectPoolTest-Serial.c
  include <Serial.h>
  
  Serial::Serial()
  {
    mSerialNumber = sNextSerial++;
  }
  
  int Serial::getSerialNumber() const
  {
    return mSerialNumber;
  }
  
  int Serial::sNextSerial = 0;
  
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.