private void Activity(float frameTimeInSeconds) { if (!hasGameEnded) { backgroundLayer.Activity(frameTimeInSeconds); biker.Activity(frameTimeInSeconds); foreach (var van in vanList) { van.Activity(frameTimeInSeconds); } PerformCollision(); } }