player.go 274 B

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