Basic loop
This commit is contained in:
Vendored
+17
@@ -0,0 +1,17 @@
|
||||
interface TalentTree {
|
||||
id: number
|
||||
name: string // e.g. Affliction
|
||||
icon: string
|
||||
talents: Talent[]
|
||||
}
|
||||
|
||||
interface Talent {
|
||||
name: string
|
||||
row: number
|
||||
column: number
|
||||
type: 'ability' | 'talent'
|
||||
ranks: string[]
|
||||
prerequisite?: [number, number] | number // [row, column] OR index
|
||||
}
|
||||
|
||||
type TalentClickHandler = (talentId, clickType: 'add' | 'remove') => void
|
||||
Reference in New Issue
Block a user