This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>fr.mcgivrer.samples</groupId> | |
<artifactId>swt-project</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>swt-project</name> | |
<description>Dicovering SWT API/description> | |
<build> |
This file contains hidden or 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
Show hidden characters
{ | |
"working_dir": "$file_path", | |
"shell_cmd":"mvn clean install", | |
"variants": [ | |
{ | |
"name": "mvn clean install", | |
"shell_cmd": "mvn clean install" | |
}, | |
{ | |
"name": "mvn full build", |
This file contains hidden or 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.lang.reflect.ParameterizedType; | |
import java.lang.reflect.Type; | |
import java.net.URL; | |
import java.util.ArrayList; | |
import java.util.List; | |
import javax.inject.Inject; | |
import javax.persistence.EntityManager; | |
import javax.persistence.criteria.CriteriaBuilder; | |
import javax.persistence.criteria.CriteriaQuery; |
This file contains hidden or 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
target/ | |
.project | |
.classpath | |
.settings/ |
This file contains hidden or 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
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | |
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
<modelVersion>4.0.0</modelVersion> | |
<groupId>[group_id]</groupId> | |
<artifactId>[artifact_id]</artifactId> | |
<version>0.0.1-SNAPSHOT</version> | |
<name>[project_name]</name> | |
<description>[project_description]</description> |
This file contains hidden or 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
package com.snapgames.tutorials.t001.flavour2; | |
import java.awt.Color; | |
import java.awt.Graphics2D; | |
import java.awt.image.BufferedImage; | |
import javax.swing.JPanel; | |
import com.snapgames.tutorials.core.io.InputHandler; |
This file contains hidden or 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
private class Drop { | |
double x0; | |
double y0; | |
double v0; //initial velocity | |
double t; //time | |
double angle; | |
double x; | |
double y; |
This file contains hidden or 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
/target/ | |
/.classpath | |
/.project | |
/.vscode | |
/.idea | |
/dependency-reduced-pom.xml | |
/bin/ |
This file contains hidden or 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
/** | |
* SnapGames | |
* | |
* @year 2017 | |
* | |
*/ | |
package com.snapgames.sample.basicplayer.math; | |
/** | |
* Internal Class to manipulate simple Vector2D. |
This file contains hidden or 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
/** | |
* This `Configuration` class load properties from `res/configuration.properties` file. | |
* some provided helpers will retrieve: | |
* - String value `Configuration.get(String key, String default)` | |
* - int value `Configuration.getInteger(String key, inf default)` | |
* - float value `Configuration.getFloat(String key, float default)` | |
* | |
* @author McGivrer | |
* @see https://gist.github.com/McGivrer | |
* @see https://twitter.com/McGivrer |