blob: 0e5e070ccec82de4bb9fa7a7facc7d5c11fcc35b [file] [log] [blame] [raw]
package com.legacy.aether.player.abilities;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.util.DamageSource;
import com.legacy.aether.player.PlayerAether;
public abstract class Ability
{
public PlayerAether playerAether;
public EntityPlayer player;
public Ability(PlayerAether player)
{
this.playerAether = player;
this.player = player.thePlayer;
}
public boolean isEnabled()
{
return true;
}
public abstract void onUpdate();
public boolean onPlayerAttacked(DamageSource source)
{
return true;
}
}