initial commit

This commit is contained in:
Baipyrus 2022-12-19 15:23:01 +01:00
commit d3e3572d66
3 changed files with 83 additions and 0 deletions

30
.gitignore vendored Normal file
View File

@ -0,0 +1,30 @@
### IntelliJ IDEA ###
out/
!**/src/main/**/out/
!**/src/test/**/out/
.idea/*
### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/
### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/
### VS Code ###
.vscode/
### Mac OS ###
.DS_Store

12
GunsAndTargets.iml Normal file
View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="processing.core" level="application" />
</component>
</module>

41
src/Main.java Normal file
View File

@ -0,0 +1,41 @@
import processing.core.PApplet;
public class Main extends PApplet {
// Statically serving this class
public static void main(String[] args) {
PApplet.main(
Main.class.getName(),
args
);
}
// CONSTANTS
// VARIABLES
// Override the built-in settings method. Start screen in fullscreen mode.
@Override
public void settings() {
fullScreen();
}
// Override the built-in setup method. Initialize program parameters.
@Override
public void setup() {
textSize(height/16f);
fill(255);
textAlign(CENTER, CENTER);
}
// Override the built-in draw method. Periodically call contents.
@Override
public void draw() {
background(0);
text("Hello, World!", width / 2f, height / 2f);
}
}