
292 9. Enhanced Appearance
//========================================================================
// Initialize the Light
// Pre: *graphics = pointer to Graphics object
// *textureM = pointer to TextureManager object
// left, top = screen location
// scale = scaling (zoom) amount
// flashRate = on/off/flash delay, <0 On, =0 Off, >0 flashes per second
// colorOn = the color of the light when on
// colorOff = the color of the light when off
// Post: returns true on success, false on error
//========================================================================
bool Light::initialize(Graphics *graphics, TextureManager *textureM,
int left, int top, ...