Untitled

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

export default interface Fighter {

  special(target: Fighter): void;

  attack(target: Fighter | SimpleFighter): void;

  levelUp(): void;

  lifePoints: number;

  strength: number;

  energy?: Energy;

  defense: number;

  receiveDamage(attackPoints: number): void;
}
Leave a Comment