Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package pack.script.game;
- public class Game {
- public static final String gName = "Java Game";
- public static final String gVer = "v1.00";
- public static final int sSIZE = 40;
- public static final int sSCALE = 16;
- public static int iSCALE = 1;
- public static final String sNAME = gName + " " + gVer;
- public static final int sWIDTH = sSIZE * sSCALE;
- public static final int sHEIGHT = sWIDTH / 12 * 9;
- public static int iWIDTH = sWIDTH * iSCALE;
- public static int iHEIGHT = sHEIGHT * iSCALE;
- public static void main(String args[]) {
- Display sDisplay = new Display(sNAME, iWIDTH, iHEIGHT);
- sDisplay.add(new Panel());
- sDisplay.setVisible(true);
- sDisplay.pixel(5, 5);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement