示例#1
0
func (p *PositionListener) UnRegisterForState(i entity.Interactor) {
	delete(p.Interactormap, i.Id())
}
示例#2
0
func (p *PositionListener) RegisterForState(i entity.Interactor) {
	p.Interactormap[i.Id()] = i
}