[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Game objects management
- From: "Grisha" <grisha@...>
- Date: Wed, 9 Jun 2004 16:19:22 +0400
Hi, Jose
Lua tables work as natural containers:
map = {}
map["keyA"] = "ValueA"
map["keyB"] = "ValueB"
vector = {}
vector[1] = a
vector[2] = b
you can take a look at the manual, everything is in there :)
sincerely yours,
Grisha
----- Original Message -----
From: "Jose Marin" <jose_marin2@yahoo.com.br>
> Thanks for your tips!
>
> Is there some sample on how to implement linked lists,
> maps and vectors (ala STL) in Lua?