mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-12-06 03:07:19 +00:00
Make immutable DistancedAction fields visible to subclasses
This commit is contained in:
1 parent
9bbfebcfb1
commit
6bced4868f
1 file changed
+5
-5
@@ -15,27 +15,27 @@ public abstract class DistancedAction<T extends Mob> extends Action<T> {
|
||||
/**
|
||||
* The delay once the threshold is reached.
|
||||
*/
|
||||
private final int delay;
|
||||
protected final int delay;
|
||||
|
||||
/**
|
||||
* The minimum distance before the action fires.
|
||||
*/
|
||||
private final int distance;
|
||||
protected final int distance;
|
||||
|
||||
/**
|
||||
* A flag indicating if this action fires immediately after the threshold is reached.
|
||||
*/
|
||||
private final boolean immediate;
|
||||
protected final boolean immediate;
|
||||
|
||||
/**
|
||||
* The position to distance check with.
|
||||
*/
|
||||
private final Position position;
|
||||
protected final Position position;
|
||||
|
||||
/**
|
||||
* A flag indicating if the distance has been reached yet.
|
||||
*/
|
||||
private boolean reached = false;
|
||||
private boolean reached;
|
||||
|
||||
/**
|
||||
* Creates a new DistancedAction.
|
||||
|
||||
Reference in new issue
Block a user