Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnemyHitPacket

Sent when an enemy has been hit by the player.

Hierarchy

  • EnemyHitPacket

Implements

Index

Properties

bulletId

bulletId: number

The id of the bullet which hit the enemy.

kill

kill: boolean

Whether or not the projectile will kill the enemy.

propagate

propagate: boolean = true

targetId

targetId: number

The object id of the enemy which was hit.

time

time: number

The current client time.

type

type: PacketType = PacketType.ENEMYHIT

Methods

read

write

Generated using TypeDoc