Implement basic game design and weapons. Add menu and inventory(shop)
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
package org.project.entity;
|
||||
|
||||
public interface Entity {
|
||||
void attack(Entity target);
|
||||
|
||||
void defend();
|
||||
|
||||
void heal(int health);
|
||||
@@ -11,10 +9,18 @@ public interface Entity {
|
||||
|
||||
void takeDamage(int damage);
|
||||
|
||||
void reduceMana(int mana);
|
||||
|
||||
int getMaxHP();
|
||||
|
||||
int getMaxMP();
|
||||
|
||||
String getType();
|
||||
|
||||
int getHealManaCost();
|
||||
int getDefendManaCost();
|
||||
void skipNextTurn();
|
||||
void skipTurn();
|
||||
/*
|
||||
TODO: ADD OTHER REQUIRED AND BONUS METHODS
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user