trinket/weapons.go

23 lines
265 B
Go
Raw Permalink Normal View History

2017-10-09 00:25:48 -07:00
package main
type Weapon struct {
Name string
Damage int
Active bool
}
2017-10-11 06:33:08 -07:00
type PaperDoll struct {
Weapon Weapon
}
2017-10-09 00:25:48 -07:00
var (
Broadsword = Weapon{
Name: "Broadsword",
2017-10-09 01:41:59 -07:00
Damage: 3,
2017-10-09 00:25:48 -07:00
Active: false}
GoblinClaw = Weapon{
Name: "Goblin Claw",
Damage: 5}
)