Example #1
0
func (s *Scene) RemoveUser(u app.User) {
	delete(s.users, u.Id())
}
Example #2
0
func (s *Session) SetUser(u app.User) {
	s.user = u
	u.SetSession(s)
}
Example #3
0
func (s *Scene) AddUser(u app.User) {
	s.users[u.Id()] = u
}