[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: WorldObj vs. Groundpieces
From: |
David Philippi |
Subject: |
Re: WorldObj vs. Groundpieces |
Date: |
Tue, 17 Sep 2002 13:11:45 +0200 |
User-agent: |
KMail/1.4.1 |
On Monday 16 September 2002 23:19, Ingo Ruhnke wrote:
> Hotspot and Co. can also be turned into WorldObjs (in fact they
> already are), its just a matter of who moves them to the right
> directories and does the remaining cleanup.
Don't worry, it's already on my todo.
> Should be pass a World and Editor (or better EditorNS::ObjectManager)
> to the data classes or something more generic like a
> std::vector<WorldObj/EditorObj*> (typedefed to EditorObjLst and
> WorldObjLst)?
I guess passing a World* / Editor* is better since it abstracts the storage
away even more then a typedef. A World* allows to change the vector<> to a
list<> (probably better anyway) without recompiling every WorldObj.
There's also the small gain that the WorldObj need not include <vector> or
<list>.
Bye David