update Player class and Entity interface

This commit is contained in:
2026-05-03 10:22:28 +03:30
parent 187e672fe9
commit be2abcb352
2 changed files with 41 additions and 9 deletions
@@ -1,7 +1,7 @@
package org.project.entity;
public interface Entity {
void attack(Entity target);
void attack(Entity target, double multiplier);
void defend();
@@ -15,7 +15,7 @@ public interface Entity {
int getMaxMP();
/*
TODO: ADD OTHER REQUIRED AND BONUS METHODS
*/
boolean isDefending();
void setDefending(boolean defending);
}