public Mass(double x, double y, Type type) {
        this(x, y);

        if (type == null) {
            throw new IllegalArgumentException("The type may not be null.");
        }

        this.type = type;
    }