AirDefense/projectileSpawnerObject.cpp
// This is a managing object, we don't need to draw it and therefore we just move it off the screen
This is a managing object, we don't need to draw it and therefore we just move it off the screen
This is a managing object we don ' t need to draw it and therefore we just move it off the screen
ProjectileSpawnerObject::ProjectileSpawnerObject() : WorldObject("ProjectileSpawnerObject", sf::Vector2f(-10.f, -10.f))
{
	timeAccumulator = 0.f;
	spawnTime = rand() % UPPER_SPAWN_TIME_LIMIT;
	numberOfCities = 0;
	ceaseFire = false;
}
ProjectileSpawnerObject :: ProjectileSpawnerObject ( ) : WorldObject ( " " , sf :: Vector2f ( -10.f , -10.f ) ) { timeAccumulator = 0.f ; spawnTime = rand ( ) % UPPER_SPAWN_TIME_LIMIT ; numberOfCities = 0 ; ceaseFire = false ; }
This is a managing object, we don't need to draw it and therefore we just move it off the screen
This is a managing object we don ' t need to draw it and therefore we just move it off the screen