Cleaned up some deprecated code
This commit is contained in:
parent
d62748fa88
commit
387bc8f793
27
battleman.py
27
battleman.py
|
@ -56,33 +56,6 @@ def main():
|
|||
for g in battle.combatgroups_from_file(f):
|
||||
btl.add_group(g)
|
||||
|
||||
# hard-coding test cases for now.
|
||||
# fixme: Eventually, use a state-saving text file that's easy to edit, or at least copy...
|
||||
# adele = Combatant("Adele", hp=26, pc=True, surges=8, sw=1)
|
||||
# adele_dict = {adele.index: adele}
|
||||
# aristaire = Combatant("Aristaire", hp=20, pc=True, surges=6, sw=1)
|
||||
# aristaire_dict = {aristaire.index: aristaire}
|
||||
|
||||
# foobolds = {}
|
||||
# for i in range(5):
|
||||
# c = Combatant("Foobold", hp=50)
|
||||
# foobolds[c.index] = c
|
||||
|
||||
# barglins = {}
|
||||
# for i in range(2):
|
||||
# c = Combatant("Barglin", hp=50)
|
||||
# barglins[c.index] = c
|
||||
|
||||
# orcs = {}
|
||||
# for i in range(2):
|
||||
# c = Combatant("Orc", hp=50)
|
||||
# orcs[c.index] = c
|
||||
|
||||
# btl.add_group(CombatGroup("Adele", adele_dict, 2))
|
||||
# btl.add_group(CombatGroup("Aristaire", aristaire_dict, 0))
|
||||
# btl.add_group(CombatGroup("Foobolds", foobolds, 20))
|
||||
# btl.add_group(CombatGroup("Barglins", barglins, 3))
|
||||
# btl.add_group(CombatGroup("Orcs of Baz", orcs, 1))
|
||||
|
||||
print btl
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user