mirror of
https://github.com/zoriya/Bomberman.git
synced 2026-05-25 15:39:50 +00:00
Trying things
This commit is contained in:
@@ -302,14 +302,13 @@ namespace BBM
|
||||
.addComponent<PositionComponent>(8, 20, 7)
|
||||
.addComponent<CameraComponent>(Vector3f(8, 0, 8));
|
||||
//when a player is ready:
|
||||
//p1tile.getComponent<Drawable2DComponent>().drawable.get()->setColor(BLUE);
|
||||
p1tile.getComponent<Drawable2DComponent>().drawable.get()->setColor(BLUE);
|
||||
//p2tile.getComponent<Drawable2DComponent>().drawable.get()->setColor(RED);
|
||||
//p3tile.getComponent<Drawable2DComponent>().drawable.get()->setColor(GREEN);
|
||||
//p4tile.getComponent<Drawable2DComponent>().drawable.get()->setColor(YELLOW);
|
||||
|
||||
//pX
|
||||
//RAY::Texture *txt = dynamic_cast<RAY::Texture *>(entity.getComponent<Drawable2DComponent>().drawable.get());
|
||||
//txt->use("assets/player/valid_selection_icon.png")
|
||||
p1.getComponent<Drawable2DComponent>().drawable = std::make_shared<RAY::Texture>("assets/player/valid_selection_icon.png");
|
||||
|
||||
//to do
|
||||
// quand no player is reaydy, the play button should be diasbled
|
||||
|
||||
Reference in New Issue
Block a user