/** * @module net/packets/outgoing */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Sent when an enemy has been hit by the player. */ export declare class EnemyHitPacket implements Packet { type: PacketType; propagate: boolean; /** * The current client time. */ time: number; /** * The id of the bullet which hit the enemy. */ bulletId: number; /** * The object id of the enemy which was hit. */ targetId: number; /** * Whether or not the projectile will kill the enemy. */ kill: boolean; write(writer: Writer): void; read(reader: Reader): void; } //# sourceMappingURL=enemy-hit-packet.d.ts.map