I have a abstract method that takes in two ints in its header
abstract void moveWorld (int distance, int speed);
works fine expect in one sub-class where i have the method but this time it only requires 1 int?
Is there a way to use a method that was two ints in the abstract class but only 1 in one of the sub classes?
abstract void moveWorld (int distance, int speed);
works fine expect in one sub-class where i have the method but this time it only requires 1 int?
Is there a way to use a method that was two ints in the abstract class but only 1 in one of the sub classes?