refactoring program

This commit is contained in:
2018-05-19 21:27:29 +02:00
parent fa65975994
commit 4a1a48e1fe
6 changed files with 18 additions and 75 deletions

View File

@@ -21,28 +21,5 @@ public class Main {
{ false, false, false, false } };
public static void main(String[] args) {
//
// IFacade facade = new Facade();
// World world = facade.createWorld(4.0, 4.0, passableMap);
//
// Worm worm = facade.createWorm(world, new double[] { 1, 1.5 }, Math.PI / 2, 0.5, "Test", null);
// System.out.println(world.isPassable(worm.getLocationArray(), worm.getRadius()));
Expression test = new Expression() {
@Override
public Object execute() {
return null;
}
};
}
private static Object l = false;
private static Object r = true;
public static void test(BinaryOperator test) {
System.out.println(test.apply(l,r));
}
}