Documentation ¶
Overview ¶
Package room maintains the game field of vires.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Room ¶
type Room struct {
// contains filtered or unexported fields
}
Room represents a single entity that hosts a match.
func NewRoom ¶
NewRoom creates a new room and launches the handler for inbound connections and starting the match.
func (*Room) StartMatch ¶
StartMatch starts the match and returns whether the match was started or if it was already running.
Click to show internal directories.
Click to hide internal directories.