EnemyDOT.__init__()

This is the constructor of the class EnemyDOT.

Parameters

  • id : int - Unique identifier of the DOT.

  • DOTDamage : int - Damage of the DOT (each tic).

  • DOTDuration : float - Duration of the DOT in seconds.

Usage

newEnemyDOT = EnemyDOT(1, 100, 20)