comparison gamelib/scenes/machine.py @ 252:dfc89bc64fdb

Start of walkthrough "unit test" and associated fixes and tweaks.
author Jeremy Thurgood <firxen@gmail.com>
date Fri, 27 Aug 2010 16:45:47 +0200
parents 12c4f87ea424
children 020f83305bf3
comparison
equal deleted inserted replaced
251:602fe654bd37 252:dfc89bc64fdb
26 return Result("The machine room is dark and forbidding.") 26 return Result("The machine room is dark and forbidding.")
27 27
28 28
29 class ToMap(Door): 29 class ToMap(Door):
30 30
31 NAME = "machine.tomap" 31 SCENE = "machine"
32 32
33 INTERACTS = { 33 INTERACTS = {
34 "door": InteractText(100, 200, "To Map"), 34 "door": InteractText(100, 200, "To Map"),
35 } 35 }
36 36