player.go 305 B

1234567891011121314151617
  1. package player
  2. import "battlecamp-go/board"
  3. type Player struct {
  4. Id string `json:"id"`
  5. Dead bool `json:"dead"`
  6. Color string `json:"color"`
  7. Type Type `json:"type"`
  8. Pos board.Coordinate `json:"pos"`
  9. }
  10. type Type int
  11. const (
  12. TypeDefault Type = 1
  13. )