Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EnemyShootPacket

Received when a visible enemy shoots a projectile.

Hierarchy

  • EnemyShootPacket

Implements

Index

Properties

angle

angle: number

The angle at which the projectile was fired.

angleInc

angleInc: number

The angle in degrees between the projectiles if numShots > 1.

bulletId

bulletId: number

The id of the bullet which was fired.

bulletType

bulletType: number

The local identifier of the projectile.

see

ProjectileInfo.id

damage

damage: number

The damage which the projectile will cause.

numShots

numShots: number

The number of projeciles fired.

ownerId

ownerId: number

The object id of the enemy which fired the projectile.

propagate

propagate: boolean = true

startingPos

startingPos: WorldPosData

The position at which the projectile was fired.

type

type: PacketType = PacketType.ENEMYSHOOT

Methods

read

write

Generated using TypeDoc