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
| Pod::Spec.new do |s| | |
| s.name = 'TemplateProject' | |
| s.version = 'VERSION' | |
| s.authors = { | |
| 'name1' => 'email1', | |
| 'name2' => 'email2' | |
| } | |
| s.license = 'Proprietary' | |
| s.homepage = 'https://github.com/Ekahau/TemplateProject' | |
| s.summary = 'Project description may appear here' |
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 petrukhnov.konstantin.games.snake; | |
| import com.jme3.app.SimpleApplication; | |
| import com.jme3.material.Material; | |
| import com.jme3.math.ColorRGBA; | |
| import com.jme3.renderer.RenderManager; | |
| import com.jme3.scene.Geometry; | |
| import com.jme3.scene.shape.Box; | |
| import com.jme3.scene.shape.Cylinder; |
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
| @Override | |
| public void simpleInitApp() { | |
| Box b = new Box(1, 1, 1); | |
| Geometry geom = new Geometry("Box", b); | |
| Material mat = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md"); | |
| mat.setColor("Color", ColorRGBA.Blue); | |
| geom.setMaterial(mat); | |
| rootNode.attachChild(geom); | |
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
| @Configuration | |
| public class MongoConfig extends AbstractMongoConfiguration { | |
| @Value("${datasource.uri}") | |
| private String uri; | |
| private MongoClientURI mongoClientURI; | |
| private Mongo mongo; |