package com.ilargia.games.systems;

import com.ilargia.games.entitas.interfaces.IExecuteSystem;


public class RendererSystem implements IExecuteSystem/*, ISetPool<Pool>*/ {
    @Override
    public void execute() {

    }
//    private final BitmapFont font;
//    private Group<Entity> _group;
//    private ShapeRenderer sr;
//    private OrthographicCamera cam;
//    private Group<Entity> _groupScore;
//    private Batch batch;
//
//    public RendererSystem(ShapeRenderer sr, OrthographicCamera cam, Batch batch, BitmapFont font) {
//        this.sr = sr;
//        this.cam = cam;
//        this.batch = batch;
//        this.font =  font;
//    }
//
//    @Override
//    public void setPool(Pool pool) {
//        _group = pool.getGroup(Matcher.AllOf(CoreMatcher.View()));
//        _groupScore = pool.getGroup(Matcher.AllOf(CoreMatcher.Score()));
//    }
//
//    @Override
//    public void execute() {
//        Gdx.gl.glClearColor(0, 0, 0, 1);
//        Gdx.gl.glClear(GL20.GL_COLOR_BUFFER_BIT);
//
//        cam.update();
//
//        sr.setProjectionMatrix(cam.combined);
//        sr.begin(ShapeRenderer.ShapeType.Filled);
//        sr.setColor(Color.WHITE);
//
//        for (Entity e : _group.getEntities()) {
//            View view = e.getView();
//
//            if(view.shape instanceof Rectangle) {
//                Rectangle ret = (Rectangle) view.shape;
//                sr.rect(ret.x, ret.y, ret.width, ret.height);
//            } else {
//                Circle circle = (Circle) view.shape;
//                sr.circle(circle.x, circle.y, circle.radius);
//            }
//
//        }
//
//        sr.end();
//
//        batch.begin();
//        for (Entity e : _groupScore.getEntities()) {
//            Score score = e.getScore();
//            font.draw(batch, score.text+ " "+ score.points, score.x, score.y);
//        }
//        batch.end();
//    }

}

@@ -33,69 +33,8 @@
 s;%0A%0A
-import com.ilargia.games.entitas.interfaces.IExecuteSystem;%0A%0A
 %0Apub
@@ -58,16 +58,18 @@
 rSystem 
+/*
 implemen
@@ -85,18 +85,16 @@
 teSystem
-/*
 , ISetPo
@@ -106,29 +106,16 @@
 ol%3E*/ %7B%0A
-    @Override
 %0A    pub

fix render