Skip to content

Commit

Permalink
And this file is also needed for the previous commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunderberg committed Nov 14, 2013
1 parent 24ece9f commit dbfc162
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions backend/Profession.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/env python

class Profession(object):
"""
Holds the information relevant for a profession.
Has self.Name, a string with the name of the profession,
and self.Costs, a list of (SkillName,CostList) tuples.
"""
def __init__(self,Name):
self.Name = Name
self.Costs = []
def AddCost(self,Name,Costs):
self.Costs.append((Name,Costs))

0 comments on commit dbfc162

Please sign in to comment.