Skip to content

Commit

Permalink
feat(wolf): add portal tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Milerius committed Nov 25, 2019
1 parent 1c14868 commit 90212ea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tutorials/wolf-3d/wolf-3d.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@ class portal_system final : public ecs::post_update_system<portal_system>
portal_entity_sprite_ = graphics::blueprint_sprite(registry, graphics::sprite{.appearance = "portal.png"},
portal_target_pos);

registry.assign<entt::tag<"portal"_hs>>(portal_entity_sprite_);
auto portal_rt_drawables = graphics::drawable_registry{
{"0_portal_sprite", graphics::drawable_info{
.entity = portal_entity_sprite_,
Expand Down

0 comments on commit 90212ea

Please sign in to comment.