diff --git a/battle.go b/battle.go index aa5d144..0f1d9c5 100644 --- a/battle.go +++ b/battle.go @@ -5,14 +5,7 @@ import ( "time" ) -type Character struct { - Name string - Health int - Damage int - Weapons [5]Weapon - Spell Spell - Initiative int -} + func Battle(hero, enemy Character) { speed := time.Second * 1 diff --git a/characters.go b/characters.go index ead64e2..103a360 100644 --- a/characters.go +++ b/characters.go @@ -1,5 +1,14 @@ package main +type Character struct { + Name string + Health int + Damage int + Weapons [5]Weapon + Spell Spell + Initiative int +} + var ( player = Character{