package org.project.entity;

public interface Entity {
    void attack(Entity target);

    void defend();

    void heal(int health);

    void fillMana(int mana);

    void takeDamage(int damage);

    int getMaxHP();

    int getMaxMP();

    /*
    TODO: ADD OTHER REQUIRED AND BONUS METHODS
    */
    /*
    Added common entity state accessors so all entities expose their current HP and MP.
    This allows combat systems and game logic to interact with Player and Enemy
    through the same polymorphic interface.
    */
    int getHp();

    int getMp();
}
