/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.jme3.app.SimpleApplication
 *  com.jme3.material.Material
 *  com.jme3.math.Quaternion
 *  com.jme3.math.Vector3f
 *  com.jme3.scene.Geometry
 *  com.jme3.scene.Mesh
 *  com.jme3.scene.Spatial
 *  com.jme3.scene.shape.Quad
 */
package mygame;

import com.jme3.app.SimpleApplication;
import com.jme3.material.Material;
import com.jme3.math.Quaternion;
import com.jme3.math.Vector3f;
import com.jme3.scene.Geometry;
import com.jme3.scene.Mesh;
import com.jme3.scene.Spatial;
import com.jme3.scene.shape.Quad;

public class test1
extends SimpleApplication {
    private Spatial player;

    public static void main(String[] args) {
        test1 app = new test1();
        app.start();
    }

    public void simpleInitApp() {
        this.player = this.assetManager.loadModel("Models/blob/Blob.mesh.xml");
        Material mat_ground = new Material(this.assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        mat_ground.setTexture("ColorMap", this.assetManager.loadTexture("Textures/Rock.PNG"));
        Geometry ground = new Geometry("ground", (Mesh)new Quad(50.0f, 50.0f));
        ground.setLocalRotation(new Quaternion().fromAngleAxis(-1.5707964f, Vector3f.UNIT_X));
        ground.setLocalTranslation(-25.0f, -1.0f, 25.0f);
        ground.setMaterial(mat_ground);
        this.rootNode.attachChild((Spatial)ground);
    }
}
