Zombie and health bar
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
package configuration
|
||||
|
||||
import "math/rand"
|
||||
|
||||
type Direction int
|
||||
|
||||
const (
|
||||
@@ -13,3 +15,8 @@ const (
|
||||
NorthWest
|
||||
PreviouslyHeld
|
||||
)
|
||||
|
||||
func Random(min, max int) float64 {
|
||||
result := min + rand.Intn(max-min)
|
||||
return float64(result)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user