Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 1 Support › How to count pooled out entities?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7584

    Vlad

    Hi

    I want to show game result as soon as last entity gets removed from the scene. What is the best way to get event when the scene is clean from entities?

     

    thanks

    #7590

    Alex
    Felgo Team

    Hi vladest,

    are all those entities from the same type and are they created at runtime with the EntityManager? Then you could call

    entityManager.getEntityArrayByType( entityType)

    every time an entity gets removed, it will return an empty array if there are no more entities of this type.

    Cheers,
    Alex

Viewing 2 posts - 1 through 2 (of 2 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded