Minor work
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
			
		||||
package pp.mdga.client.Animation;
 | 
			
		||||
 | 
			
		||||
public interface Animation {
 | 
			
		||||
    void play();
 | 
			
		||||
    void stop();
 | 
			
		||||
    boolean isOver();
 | 
			
		||||
abstract class Animation {
 | 
			
		||||
    abstract void play();
 | 
			
		||||
    abstract void stop();
 | 
			
		||||
    abstract boolean isOver();
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,6 +1,6 @@
 | 
			
		||||
package pp.mdga.client.Animation;
 | 
			
		||||
 | 
			
		||||
public class EmptyAnimation implements Animation {
 | 
			
		||||
class EmptyAnimation implements Animation {
 | 
			
		||||
    @Override
 | 
			
		||||
    void play() {
 | 
			
		||||
        //nothing
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@
 | 
			
		||||
public class BoardView {
 | 
			
		||||
    private static final float GRID_SIZE = 10.0f;
 | 
			
		||||
    private static final float GRID_ELEVATION = 0.0f;
 | 
			
		||||
    private static final int GRID_EXTEND = 11;
 | 
			
		||||
    private static final int GRID_EXTEND = 5;
 | 
			
		||||
 | 
			
		||||
    private PileControl drawPile = new PileControl();
 | 
			
		||||
    private PileControl discardPile = new PileControl();
 | 
			
		||||
@@ -22,8 +22,8 @@ public class BoardView {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    private static Vector3f gridToWorld(int x, int y) {
 | 
			
		||||
        assert(0 <= x && x < GRID_EXTEND);
 | 
			
		||||
        assert(0 <= y && y < GRID_EXTEND);
 | 
			
		||||
        assert(-GRID_EXTEND <= x && x <= GRID_EXTEND);
 | 
			
		||||
        assert(-GRID_EXTEND <= y && y < GRID_EXTEND);
 | 
			
		||||
 | 
			
		||||
        return new Vector3f(GRID_SIZE * x, GRID_ELEVATION, GRID_SIZE * y);
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
@@ -65,8 +65,8 @@ public void simpleInitApp() {
 | 
			
		||||
 | 
			
		||||
        createModel(Asset.world);
 | 
			
		||||
 | 
			
		||||
        System.out.println(Asset.node_normal.getModelPath());
 | 
			
		||||
        System.out.println(Asset.node_normal.getDiffPath());
 | 
			
		||||
        //System.out.println(Asset.node_normal.getModelPath());
 | 
			
		||||
        //System.out.println(Asset.node_normal.getDiffPath());
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@@ -88,6 +88,4 @@ private Spatial createModel(Asset asset){
 | 
			
		||||
    public void simpleUpdate(float tpf) {
 | 
			
		||||
        //this method will be called every game tick and can be used to make updates
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user