Changed name of weapons file to items
This commit is contained in:
parent
f23ee96cac
commit
6c73bd6464
22
weapons.go
22
weapons.go
@ -1,22 +0,0 @@
|
||||
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}
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user