Package hexenschach.gui.graphic.animation

Examples of hexenschach.gui.graphic.animation.LineareFunction


    } else if (figure.getType().equals("pawn")) {
      img.tag = new ElasticFunction();
    } else if (figure.getType().equals("queen")) {
      img.tag = new ExpFunction(4)
    } else if (figure.getType().equals("rook")) {
      img.tag = new LineareFunction();
    } else {
      img.tag = new ElasticFunction();
    }
  }
View Full Code Here


public class AnimationFunctionsTest {

  @Test public void testLineareFunction() {
   
    LineareFunction f = new LineareFunction();
   
    assertEquals(1.0, f.value(1.0), 0.001);
    assertEquals(1.0, f.value(1.0), 0.001);
   
  }
View Full Code Here

TOP

Related Classes of hexenschach.gui.graphic.animation.LineareFunction

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.