Mercurial > sypikslang
comparison gamelib/research.py @ 24:23720d0fd9a0
Make SCIENCE_TYPE explicit.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 May 2012 19:17:04 +0200 |
parents | 10d3db1f1e08 |
children | 1e8f7e694f0c |
comparison
equal
deleted
inserted
replaced
23:f6a3b213857b | 24:23720d0fd9a0 |
---|---|
1 class ResearchArea(object): | 1 class ResearchArea(object): |
2 NAME = None | 2 NAME = None |
3 PREREQUISITES = () | 3 PREREQUISITES = () |
4 SCIENCE_TYPE = 'research' | |
4 | 5 |
5 def __init__(self, points=0): | 6 def __init__(self, points=0): |
6 self.points = points | 7 self.points = points |
7 | 8 |
8 def spend_point(self): | 9 def spend_point(self): |