Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a Animal Enemy with the given parameters or the default parameters.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

  • new AnimalEnemy(name?: string, health?: number, damage?: number, defense?: number): AnimalEnemy

Properties

damage: number

Determines the damage of the Animal Enemy.

defense: number

Determines the defense of the Animal Enemy.

health: number

Determines the health of the Animal Enemy.

name: string

Determines the name of the Animal Enemy.

Methods

Generated using TypeDoc