Project cleanup pre merge.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
// www.magicbane.com
|
||||
|
||||
|
||||
package engine.jobs;
|
||||
package engine.jobs;
|
||||
|
||||
import engine.gameManager.CombatManager;
|
||||
import engine.job.AbstractJob;
|
||||
@@ -15,25 +15,26 @@ import engine.objects.AbstractCharacter;
|
||||
|
||||
public class AttackJob extends AbstractJob {
|
||||
|
||||
private final AbstractCharacter source;
|
||||
private final int slot;
|
||||
private final boolean success;
|
||||
private final AbstractCharacter source;
|
||||
private final int slot;
|
||||
private final boolean success;
|
||||
|
||||
public AttackJob(AbstractCharacter source, int slot, boolean success) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.slot = slot;
|
||||
this.success = success;
|
||||
}
|
||||
public AttackJob(AbstractCharacter source, int slot, boolean success) {
|
||||
super();
|
||||
this.source = source;
|
||||
this.slot = slot;
|
||||
this.success = success;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void doJob() {
|
||||
CombatManager.doCombat(this.source, slot);
|
||||
}
|
||||
@Override
|
||||
protected void doJob() {
|
||||
CombatManager.doCombat(this.source, slot);
|
||||
}
|
||||
|
||||
public boolean success() {
|
||||
return this.success;
|
||||
}
|
||||
protected void _cancelJob() {
|
||||
}
|
||||
public boolean success() {
|
||||
return this.success;
|
||||
}
|
||||
|
||||
protected void _cancelJob() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user