Is there a way to reference a boolean from statement from another class. For example, I have a boolean statement in my Lobster class that cannot eat the crab when the statement is false. Is there a way to make it to return true from my crab class?
public static boolean yourboolean
public static boolean getBoolean() { return yourboolean; }
public static boolean yourotherboolean = (getBoolean)