diff --git a/items.go b/items.go index 1832be6..19c19ca 100644 --- a/items.go +++ b/items.go @@ -1,19 +1,19 @@ package main +//Weapon creates type for general weapons type Weapon struct { Name string Damage int Active bool } - - var ( + //Broadsword defines attributes of weapon Bradsword Broadsword = Weapon{ Name: "Broadsword", Damage: 5, Active: false} - + //GoblinClaw defines attributes of weapon GoblinClaw GoblinClaw = Weapon{ Name: "Goblin Claw", Damage: 5}