test(entity)
    {
        return entity.hasComponents(
            ecs.VisibilityComponent,    // whether or not to render
            TransformComponent,         // where to render
            TextureComponent,           // what to render
            SpriteComponent             // how to render
        );
    }
/**
     * Returns true if the entity is eligible to the system, false otherwise.
     *
     * @param {Entity} entity - The entity to test.
     * @return {boolean} True if entity should be included.
     */
Returns true if the entity is eligible to the system, false otherwise.
@param {Entity} entity - The entity to test.
@return {boolean} True if entity should be included.
Returns true if the entity is eligible to the system false otherwise . @param { Entity } entity - The entity to test . @return { boolean } True if entity should be included .
test(entity)
    {
        return entity.hasComponents(
            ecs.VisibilityComponent,    
            TransformComponent,         
            TextureComponent,           
            SpriteComponent             
        );
    }
test ( entity ) { return entity . hasComponents ( ecs . VisibilityComponent , TransformComponent , TextureComponent , SpriteComponent ) ; }
Returns true if the entity is eligible to the system, false otherwise.
Returns true if the entity is eligible to the system false otherwise .
// whether or not to render // where to render // what to render // how to render