This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Fiduciary License Agreement 2.0 | |
## Individual Contributor Exclusive License Agreement | |
## (including the Traditional Patent License OPTION) | |
Thank you for your interest in contributing to Programming ("We" or "Us"). | |
The purpose of this contributor agreement ("Agreement") is to clarify and document the rights granted by contributors to Us. To make this document effective, please follow the instructions given by the CLA-assistant bot in your Pull-Request. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.awt.*; | |
import java.awt.event.*; | |
import java.util.*; | |
import javax.swing.*; | |
public class GamePanel extends JPanel implements Runnable{ | |
static final int GAME_WIDTH = 1000; | |
static final int GAME_HEIGHT = (int)(GAME_WIDTH * (0.5555)); | |
static final Dimension SCREEN_SIZE = new Dimension(GAME_WIDTH,GAME_HEIGHT); |