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