From 51657e10769faa2617d546a06c42e4c62a19bb50 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 30 Jan 2022 17:41:24 +0100 Subject: Removed trailing whitespace all over the place --- Stars45/Scene.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'Stars45/Scene.cpp') diff --git a/Stars45/Scene.cpp b/Stars45/Scene.cpp index b9b3167..556f04e 100644 --- a/Stars45/Scene.cpp +++ b/Stars45/Scene.cpp @@ -49,7 +49,7 @@ Scene::Scene() { } Scene::~Scene() -{ +{ background.destroy(); foreground.destroy(); graphics.destroy(); @@ -62,10 +62,10 @@ Scene::~Scene() void Scene::AddBackground(Graphic* g) -{ +{ if (g) { if (!background.contains(g)) - background.append(g); + background.append(g); g->SetScene(this); } @@ -84,10 +84,10 @@ Scene::DelBackground(Graphic* g) void Scene::AddForeground(Graphic* g) -{ +{ if (g) { if (!foreground.contains(g)) - foreground.append(g); + foreground.append(g); g->SetScene(this); } @@ -106,10 +106,10 @@ Scene::DelForeground(Graphic* g) void Scene::AddGraphic(Graphic* g) -{ +{ if (g) { if (!graphics.contains(g)) - graphics.append(g); + graphics.append(g); g->SetScene(this); } @@ -132,10 +132,10 @@ Scene::DelGraphic(Graphic* g) void Scene::AddSprite(Graphic* g) -{ +{ if (g) { if (!sprites.contains(g)) - sprites.append(g); + sprites.append(g); g->SetScene(this); } @@ -183,7 +183,7 @@ Scene::Collect() if (g->Life() == 0) { delete iter.removeItem(); } - } + } iter.attach(sprites); @@ -192,7 +192,7 @@ Scene::Collect() if (g->Life() == 0) { delete iter.removeItem(); } - } + } ListIter iter1 = lights; @@ -201,7 +201,7 @@ Scene::Collect() if (l->Life() == 0) { delete iter1.removeItem(); } - } + } } -- cgit v1.1