Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean isEqualLarge(int currentX, int currentY, int lastX, int lastY) {
        if (Math.abs(currentX - lastX) < 100 && Math.abs(currentY - lastY) < 100) {
            return true;
        }
        return false;
    }
}