Archived
Private
Public Access
1
0

Initial commit

This commit is contained in:
2022-09-04 12:45:01 +02:00
commit f4a01d6a69
11601 changed files with 4206660 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package com.jdh.microcraft.entity.attack;
import com.jdh.microcraft.entity.mob.EntityAirWizard;
public abstract class WizardAttack {
protected final EntityAirWizard wizard;
public int time;
public WizardAttack(EntityAirWizard wizard, int time) {
this.wizard = wizard;
this.time = time;
}
public boolean done() {
return this.time <= 0;
}
public void tick() {
this.time--;
}
}