Creating a basic view

This commit is contained in:
Zoe Roux
2021-06-03 22:42:38 +02:00
parent 0d37a560d7
commit a11bd21ec3
15 changed files with 121 additions and 63 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ namespace BBM
std::shared_ptr<WAL::Scene> loadGameScene(WAL::Wal &wal)
{
auto scene = std::make_shared<WAL::Scene>(wal);
auto scene = std::make_shared<WAL::Scene>();
scene->addEntity("player")
.addComponent<PositionComponent>()
.addComponent<Drawable3DComponent<RAY3D::Model>>("assets/player/player.iqm", std::make_pair(MAP_DIFFUSE, "assets/player/blue.png"))