adonthell-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Adonthell-devel] inventory news


From: Thorsten Riess
Subject: Re: [Adonthell-devel] inventory news
Date: Fri, 26 Apr 2002 10:54:45 +0200

> > inventory_base has also member functions for adding/removing items
> > and transfering them to another inventory. I decided to handle the
> > money as a special item rather than via the inventory class itself.
>
> Making money an item seems good to me. That way, whatever we chose
> for money won't be hardcoded into the engine.

That was the idea :)

> Oh, and we'll certainly need a method to iterate over an inventory.
> That would be useful for saving, but is also needed for an inventory
> GUI later on.

Yes, I forgot to mention that... a simple iterator is already working.
So the next step should be a load/save routine and some more example 
code. As soon as this is done I will provide a package to download and 
test for you.
Ciao, Thorsten.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]