Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
i-make-robots committed Oct 16, 2023
1 parent 6616e13 commit b93ea31
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ public class ComponentSwingViewFactory {
private final ViewElementFactory viewElementFactory;
private final JPanel result = new JPanel();
private final GridBagConstraints gbc = new GridBagConstraints();
private final EntityManager entityManager;

public ComponentSwingViewFactory(EntityManager entityManager) {
super();
this.entityManager = entityManager;
viewElementFactory = new ViewElementFactory(entityManager);

result.setLayout(new GridBagLayout());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,6 @@ private void useShaderOutline(GL3 gl) {
* material. Further sort the alpha list by distance from the camera. Then systems the opaque, systems the alpha,
* and systems the no-material.
* @param gl3 the OpenGL context
* @param list the list of entities to render
* @param shaderProgram the shader to use
*/
private void renderAllEntities(GL3 gl3,ShaderProgram shaderProgram) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
import javax.swing.border.BevelBorder;
import java.awt.*;

/**
* View a single {@link Component} and any components upon which it depends.
* @author Dan Royer
* @since 2023-10-15
*/
public class ComponentViewTest extends JPanel {
private final EntityManager entityManager = new EntityManager();
private final SystemManager systems = new SystemManager(entityManager);
Expand Down

0 comments on commit b93ea31

Please sign in to comment.