Class Skeleton

java.lang.Object
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class Skeleton
extends Monster
Skeleton character.
  • Constructor Details

    • Skeleton

      public Skeleton()
      Constructor.
  • Method Details

    • attack

      public void attack​(DungeonCharacter opponent)
      Description copied from class: DungeonCharacter
      Allows characters to attempt an attack on an opponent. First, chance to hit is considered. If a hit can occur, then the damage is calculated based on character's damage range. This damage is then applied to the opponent.
      Overrides:
      attack in class DungeonCharacter
      Parameters:
      opponent - The opponent being attacked.