[ascoders] SingleTon
- From: André Michelle <am@xxxxxxxxxxxxxxxxxx>
- To: <ascoders@xxxxxxxxxxxxx>
- Date: Wed, 15 Sep 2004 15:38:05 +0200
Kann man Singleton Klassen irgentwie elegant Parameter mitübergeben ?
Bisher mache ich das so:
static private var instance: Ball;
static function getInstance( Void ): Ball
{
if ( instance == null ) instance = new Ball();
return instance;
}
--
aM
------------------------------------------------------
Archiv : http://www.freelists.org/archives/ascoders/
Optionen : http://www.freelists.org/list/ascoders
------------------------------------------------------
- References:
- [ascoders] Flash7Player Änderungen?
- From: georg » inflex . org
- [ascoders] Re: Flash7Player Änderungen?
- From: 1stPIXEL
- [ascoders] Eclipse, die xte
- From: André Michelle
- [ascoders] Re: Eclipse, die xte
- From: Timo Stamm
- [ascoders] Re: Eclipse, die xte
- From: Ralf Siegel
- [ascoders] Wo sind die BuiltIn Interfaces
- From: André Michelle
- [ascoders] new Interface
- From: André Michelle
- [ascoders] Re: new Interface
- From: Ralf Bokelberg
- [ascoders] Re: new Interface
- From: André Michelle
- [ascoders] Re: new Interface
- From: Ralf Bokelberg
Other related posts:
- » [ascoders] SingleTon
- [ascoders] Flash7Player Änderungen?
- From: georg » inflex . org
- [ascoders] Re: Flash7Player Änderungen?
- From: 1stPIXEL
- [ascoders] Eclipse, die xte
- From: André Michelle
- [ascoders] Re: Eclipse, die xte
- From: Timo Stamm
- [ascoders] Re: Eclipse, die xte
- From: Ralf Siegel
- [ascoders] Wo sind die BuiltIn Interfaces
- From: André Michelle
- [ascoders] new Interface
- From: André Michelle
- [ascoders] Re: new Interface
- From: Ralf Bokelberg
- [ascoders] Re: new Interface
- From: André Michelle
- [ascoders] Re: new Interface
- From: Ralf Bokelberg