URL:
<http://gna.org/task/?func=detailitem&item_id=3298>
Summary: Remove all Init() and Reset() methods from src/team
directory
Project: Wormux
Submitted by: gentildemon
Submitted on: lundi 29.05.2006 à 07:25
Should Start On: lundi 29.05.2006 à 00:00
Should be Finished on: lundi 29.05.2006 à 00:00
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: gentildemon
Percent Complete: 20%
Open/Closed: Open
Effort: 0.00
_______________________________________________________
Details:
Init() methods should be replaced by the class constructors.
If Reset() methods are still usefull, we need to find more "speaking" names
for the methods.
Currently, all the teams with all the characters (and their respective energy
bar) are created just after launching the program , it's awful!!!
The correct way is to load only a small part of each team (name and flag) for
the "start a new game" menu and then to load the correct numbers of characters
when beginning a new game, and to free them at the end of a game.
_______________________________________________________
Reply to this item at:
<http://gna.org/task/?func=detailitem&item_id=3298>
_______________________________________________
Message posté via/par Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna