예제 #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
}