trinket/weapons.go

25 lines
267 B
Go

package main
type Weapon struct {
Name string
Damage int
Active bool
}
type PaperDoll struct {
Weapon Weapon
}
var (
Broadsword = Weapon{
Name: "Broadsword",
Damage: 3,
Active: false}
GoblinClaw = Weapon{
Name: "Goblin Claw",
Damage: 5}
)