Skip to content
Permalink
1f157298c4
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
23 lines (17 sloc) 510 Bytes
package gfx;
import java.awt.Dimension;
import javax.swing.JPanel;
import level.LevelHandler;
// This class will contain and render a specific level/entities
// The game.Game class will contain one screen at a time to display that level.
public class Screen extends JPanel {
private String levelName;
private LevelHandler level;
public Screen(LevelHandler level) {
this.level = level;
this.setPreferredSize(new Dimension(700, 600));
}
public String getLevelName() {
return levelName;
}
}