2021-10-01 13:40:46 -04:00
|
|
|
package tome_game
|
|
|
|
|
|
|
|
import (
|
|
|
|
. "git.saintnet.tech/tomecraft/tome_lib"
|
|
|
|
)
|
|
|
|
|
|
|
|
func NewPlayer(name string, id int) *Player {
|
|
|
|
return &Player{
|
2021-11-11 15:08:38 -05:00
|
|
|
Name: name,
|
|
|
|
Id: id,
|
|
|
|
Hand: []*Card{},
|
|
|
|
Life: 3,
|
|
|
|
Ready: false,
|
|
|
|
Effects: []*Effect{},
|
2021-10-01 13:40:46 -04:00
|
|
|
}
|
|
|
|
}
|