示例#1
0
func (k *KeyboardListener) UnRegister(e entity.Actor) {
	delete(k.Listenermap, e.Id())
}
示例#2
0
func (k *KeyboardListener) Register(e entity.Actor) {
	k.Listenermap[e.Id()] = e
}