//this interacts with character public void interact(CharacterEntity character, Direction direction) { character.affectHealth(this.doDamage()); animateInteraction(direction); }
public CharacterEntity(CharacterEntity character) : this(character.imgPath, character.x, character.y, character.hp, character.minDp, character.maxDp) { }