- Added database files
This commit is contained in:
18
src/models/Spell.ts
Normal file
18
src/models/Spell.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
class Spell {
|
||||
|
||||
private id: number
|
||||
private name: string
|
||||
private description: string
|
||||
private cost: number
|
||||
private charge: number
|
||||
private schools: Array<string>
|
||||
private ingredients: Array<string>
|
||||
private variables: Array<string>
|
||||
|
||||
constructor(id: number) {
|
||||
this.id = id
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
export default Spell;
|
||||
Reference in New Issue
Block a user