|
Die Instanz von TestDelegates musst du dann schon irgendwo speichern.
Und dann einfach btn.removeListener("click", testDelegate.handleClickButton )
Man spart sich auf jeden Fall die zusätzlichen Variablen für jeden Delegate.
__________________
The fact that you've got "Replica" written on the side of your gun and the fact that I've got "Desert Eagle written on the side of mine ... :D
Geändert von hazy fantazy (18-12-2007 um 13:01 Uhr)
|