mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-06-07 19:40:48 +00:00
Creating a basic view
This commit is contained in:
@@ -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"))
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "Component/Position/PositionComponent.hpp"
|
||||
#include "Component/Collision/CollisionComponent.hpp"
|
||||
#include "System/Collision/CollisionSystem.hpp"
|
||||
#include "Scene/Scene.hpp"
|
||||
|
||||
namespace BBM
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user