19 lines
423 B
Java
19 lines
423 B
Java
import javax.swing.*;
|
|
import GamePanels.*;
|
|
|
|
/**
|
|
* Created by sagi on 12/18/15.
|
|
*/
|
|
public class Main {
|
|
|
|
public static void main(String args[]){
|
|
|
|
JFrame frame = new JFrame("Flappy Angry Birds");
|
|
frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
|
|
frame.setSize(1200, 600);
|
|
frame.setResizable(false);
|
|
frame.add(new GamePanel(1200, 600));
|
|
frame.setVisible(true);
|
|
}
|
|
}
|