Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
292 B
1
Indexable
Never
import Energy from '../Energy';

interface Fighter {
  lifePoints: number;
  strength: number;
  defense: number;
  energy?: Energy;

  attack(enemy: Fighter): void;
  special?(enemy: Fighter): void;
  levelUp(): void;
  receiveDamage(attackPoints: number): number;
}

export default Fighter;
Leave a Comment