Hi,
I want to create some powers in my fight program.
I want to know if dictionnaries is the best solution to do it.
For now its look like this :
//French name and description, don't care about it ;)
power1= {}
power1['Name'] = 'Flammes infernales'
power1['Description'] = 'Embrase lenemi et le
On 02/24/2011 01:58 PM, Christopher Brookes wrote:
> Hi,
>
> I want to create some powers in my fight program.
> I want to know if dictionnaries is the best solution to do it.
>
> For now its look like this :
>
>
> //French name and description, don't care about it ;)
>
> power1= {}
> power1['
On 2/24/2011 1:58 PM, Christopher Brookes wrote:
Hi,
I want to create some powers in my fight program.
I want to know if dictionnaries is the best solution to do it.
For now its look like this :
//French name and description, don't care about it ;)
power1= {}
power1['Name'] = 'Flammes infern
Always reply-all so a copy goes to the list.
On 2/24/2011 2:20 PM, Christopher Brookes wrote:
Oh yes, did'nt think about it. I love this solution Ty :) !
BTW i add Character class, how can i add to it ONE power ?
Sorry I don't understand.
class Character():
""" Classe du personnage, ses