w.addKeyListener(this);
w.setFocusTraversalKeysEnabled(false);
bg = new ImageIcon("res\\mario-wall-01.png").getImage();
//bgb = new ImageIcon("res\\mario-wall-01b.png").getImage();
hero = new ImageIcon("res\\8_Bit_Mario.png").getImage();
a = new Animation();
a.addScene(hero.getScaledInstance(hero.getWidth(null) / 25, hero.getHeight(null) / 25, 25), 800);
sprite = new SpriteManager(a);
sprite.setY((sm.getHeight() / 2 - sprite.getHeight()));