"use strict";
/* eslint-disable sort-exports/sort-exports */
Object.defineProperty(exports, "__esModule", { value: true });
exports.isTrinket = exports.isCardPickup = exports.isCollectible = exports.isBattery = exports.isPill = exports.isSack = exports.isPoopPickup = exports.isBombPickup = exports.isKey = exports.isCoin = exports.isHeart = void 0;
const isaac_typescript_definitions_1 = require("isaac-typescript-definitions");
/** For `PickupVariant.HEART` (10). */
function isHeart(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.HEART);
}
exports.isHeart = isHeart;
/** For `PickupVariant.COIN` (20). */
function isCoin(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.COIN);
}
exports.isCoin = isCoin;
/** For `PickupVariant.KEY` (30). */
function isKey(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.KEY);
}
exports.isKey = isKey;
/** For `PickupVariant.BOMB` (40). */
function isBombPickup(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.BOMB);
}
exports.isBombPickup = isBombPickup;
/** For `PickupVariant.POOP` (42). */
function isPoopPickup(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.POOP);
}
exports.isPoopPickup = isPoopPickup;
/** For `PickupVariant.SACK` (69). */
function isSack(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.SACK);
}
exports.isSack = isSack;
/** For `PickupVariant.PILL` (70). */
function isPill(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.PILL);
}
exports.isPill = isPill;
/** For `PickupVariant.LIL_BATTERY` (90). */
function isBattery(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP &&
        pickup.Variant === isaac_typescript_definitions_1.PickupVariant.LIL_BATTERY);
}
exports.isBattery = isBattery;
/** For `PickupVariant.COLLECTIBLE` (100). */
function isCollectible(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP &&
        pickup.Variant === isaac_typescript_definitions_1.PickupVariant.COLLECTIBLE);
}
exports.isCollectible = isCollectible;
/** For `PickupVariant.CARD` (300). */
function isCardPickup(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP && pickup.Variant === isaac_typescript_definitions_1.PickupVariant.CARD);
}
exports.isCardPickup = isCardPickup;
/** For `PickupVariant.TRINKET` (350). */
function isTrinket(pickup) {
    return (pickup.Type === isaac_typescript_definitions_1.EntityType.PICKUP &&
        pickup.Variant === isaac_typescript_definitions_1.PickupVariant.TRINKET);
}
exports.isTrinket = isTrinket;
