Mercurial > sypikslang
comparison gamelib/products.py @ 20:718d1ec382f7
Deserialise lab data.
author | Jeremy Thurgood <firxen@gmail.com> |
---|---|
date | Sun, 06 May 2012 18:12:51 +0200 |
parents | 10d3db1f1e08 |
children | 23720d0fd9a0 |
comparison
equal
deleted
inserted
replaced
19:12085dfd9e69 | 20:718d1ec382f7 |
---|---|
23 class MachineGun(Product): | 23 class MachineGun(Product): |
24 NAME = "Machine gun" | 24 NAME = "Machine gun" |
25 COST = 100 | 25 COST = 100 |
26 STARTING_PRODUCT = True | 26 STARTING_PRODUCT = True |
27 | 27 |
28 def __init__(self): | 28 def __init__(self, points=0): |
29 self.points = 1 | 29 self.points = 1 |
30 | 30 |
31 def spend_point(self): | 31 def spend_point(self): |
32 raise NotImplementedError() | 32 raise NotImplementedError() |
33 | 33 |