Added weapons
This commit is contained in:
parent
fdb962f127
commit
6db16d0ed3
18
weapons.go
Normal file
18
weapons.go
Normal file
@ -0,0 +1,18 @@
|
||||
package main
|
||||
|
||||
type Weapon struct {
|
||||
Name string
|
||||
Damage int
|
||||
Active bool
|
||||
}
|
||||
|
||||
var (
|
||||
Broadsword = Weapon{
|
||||
Name: "Broadsword",
|
||||
Damage: 25,
|
||||
Active: false}
|
||||
|
||||
GoblinClaw = Weapon{
|
||||
Name: "Goblin Claw",
|
||||
Damage: 5}
|
||||
)
|
Loading…
x
Reference in New Issue
Block a user