Skip to main content

neon_crisp / Modules / cardFactory/types

Module: cardFactory/types

Table of contents

Type Aliases

Type Aliases

CardData

Ƭ CardData: Object

Type declaration

NameType
atknumber
atkSoundsstring[]
deathSoundsstring[]
defenseSoundsstring[]
hpnumber
idstring
img{ atlasId: string ; filename: string ; imgPath: string }
img.atlasIdstring
img.filenamestring
img.imgPathstring
miscSoundsstring[]
namestring
nextLevelCost?number | null
nextLevelId?string | null
nonPlayerCardboolean
on_after_attackActionTitle[]
on_attackActionTitle[]
on_before_attackActionTitle[]
on_card_state_changeActionTitle[]
on_deathActionTitle[]
on_defenseActionTitle[]
on_game_startActionTitle[]
on_targetedActionTitle[]
on_turnActionTitle[]
prevLevelId?string | null

Defined in

cardFactory/types.ts:3


CostToLevelUp

Ƭ CostToLevelUp: Object

Type declaration

NameType
cardsNeedednumber
gemsNeedednumber
goldNeedednumber

Defined in

cardFactory/types.ts:64


LevelUpTableRow

Ƭ LevelUpTableRow: Object

Type declaration

NameType
atkChangestring
cardsNeedednumber
gemsNeedednumber
goldNeedednumber
hpChangestring
lvlnumber

Defined in

cardFactory/types.ts:55


TestingCardInput

Ƭ TestingCardInput: Object

Type declaration

NameType
atk?number
atkSounds?string[]
deathSounds?string[]
defenseSounds?string[]
description?string
hp?number
id?string
imageAtlasId?string
miscSounds?string[]
name?string
on_after_attack?ActionTitle[]
on_attack?ActionTitle[]
on_before_attack?ActionTitle[]
on_card_state_change?ActionTitle[]
on_death?ActionTitle[]
on_defense?ActionTitle[]
on_game_start?ActionTitle[]
on_targeted?ActionTitle[]
on_turn?ActionTitle[]

Defined in

cardFactory/types.ts:34