initial commit
This commit is contained in:
commit
d3e3572d66
30
.gitignore
vendored
Normal file
30
.gitignore
vendored
Normal 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
12
GunsAndTargets.iml
Normal 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
41
src/Main.java
Normal 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);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user