Provides a screen to draw pixels to with a basic rendering update loop and accepts user input
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package sig;
|
|
|
|
|
|
|
|
import sig.engine.Color;
|
|
|
|
import sig.engine.Panel;
|
|
|
|
|
|
|
|
public class JavaProjectTemplate {
|
|
|
|
public static final String PROGRAM_NAME="Sig's Java Project Template";
|
|
|
|
public static int WINDOW_WIDTH=1280;
|
|
|
|
public static int WINDOW_HEIGHT=720;
|
|
|
|
public static Panel game;
|
|
|
|
|
|
|
|
public static void updateGame() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void drawGame() {
|
|
|
|
game.Clear(Color.BRIGHT_BLUE);
|
|
|
|
game.Draw(100,20,Color.BLACK);
|
|
|
|
game.Draw_Line(10,10,35,35,Color.BLACK);
|
|
|
|
game.FillCircle(Color.MAGENTA,200,200,50);
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
Panel.InitializeEngine();
|
|
|
|
}
|
|
|
|
}
|