alexvoz / as3isolib

Automatically exported from code.google.com/p/as3isolib
0 stars 0 forks source link

Add support for object instantiation parameters #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

please implement support for initialization parameters to the constructors 
of the most commonly used classes such as:

IsoView
IsoScene
IsoGrid
IsoBox
IsoSprite

If possible, for all or at least some of those the first param should be 
the 'id'.

I implemented a few of those in my local copy and I can attest that it 
really helps in reducing code verbosity.

I suggest all or at least most of these parameters should be optional.
As you know, optional constructor parameters do not break existing code.

Original issue reported on code.google.com by hello.ja...@gmail.com on 22 Apr 2009 at 5:09

GoogleCodeExporter commented 9 years ago
I will take this under advisement.  Most likely will be optional constructor 
parameters.

Original comment by jwopitz on 22 Apr 2009 at 10:33

GoogleCodeExporter commented 9 years ago
added initialization parameters to constructors for most IIsoDisplay classes. 
Current as of revision #240 in trunk.

Original comment by jwopitz on 27 May 2009 at 9:07

GoogleCodeExporter commented 9 years ago
if (!descriptor)
 {
        width = DEFAULT_WIDTH;
        length = DEFAULT_LENGTH;
         height = DEFAULT_HEIGHT;
}

So I _must_ specify all three if I use a descriptor?

That's not very flexible

Original comment by hello.ja...@gmail.com on 27 May 2009 at 9:28