/** *
* CBgLayer.java * * Revisions: 1.0 Nov. 24, 2002 * Created the CBgLayer class * ** * @author Jose Manuel Caban * @version Version 1.0, Nov. 24, 2002 */ import javax.swing.*; public class CBgLayer extends JPanel{ CEngine cEngine; public CBgLayer(String fileName){ cEngine = new CEngine(fileName); } protected void paintComponent(Graphics g){ super.paintComponent(g); int w = WIDTH / cEngine.cBgLayer.length; int h = HEIGHT / cEngine.cBgLayer[0].length; for(int x=0; x