Options
All
  • Public
  • Public/Protected
  • All
Menu

Creates a Creature with the given parameters or the default parameters.

Hierarchy

Index

Constructors

Properties

Constructors

  • new Creature(name?: string, health?: number): Creature

Properties

health: number

Determines the health of the creature.

name: string

Determines the name of the creature.

Generated using TypeDoc