Renamed Background to AbstractBackground

Former-commit-id: c99ed2e48c4d82fb1100f412a85468c698142815
This commit is contained in:
Lynix
2013-06-27 12:53:04 +02:00
parent 308c2cfd78
commit 1a6e55881b
9 changed files with 27 additions and 23 deletions

View File

@@ -23,8 +23,8 @@ struct NzSceneImpl
{
}
std::unique_ptr<NzAbstractBackground> background;
std::unique_ptr<NzAbstractRenderTechnique> renderTechnique;
std::unique_ptr<NzBackground> background;
std::vector<NzUpdatable*> updateList;
std::vector<NzUpdatable*> visibleUpdateList;
NzClock updateClock;
@@ -92,7 +92,7 @@ NzColor NzScene::GetAmbientColor() const
return m_impl->ambientColor;
}
NzBackground* NzScene::GetBackground() const
NzAbstractBackground* NzScene::GetBackground() const
{
return m_impl->background.get();
}
@@ -135,7 +135,7 @@ void NzScene::SetAmbientColor(const NzColor& color)
m_impl->ambientColor = color;
}
void NzScene::SetBackground(NzBackground* background)
void NzScene::SetBackground(NzAbstractBackground* background)
{
m_impl->background.reset(background);
}