diff demos/rpg/scripts/actors/player.py @ 521:494c60cf61cf

Player can now receive a quest, accept it, and complete it. Quests do not have any requirements (i.e. bring me back an item.. etc etc) to be completed at this time.
author prock@33b003aa-7bff-0310-803a-e67f0ece8222
date Thu, 27 May 2010 17:31:28 +0000
parents b6bd314df28a
children 6037f79b0dcf
line wrap: on
line diff
--- a/demos/rpg/scripts/actors/player.py	Thu May 27 16:29:07 2010 +0000
+++ b/demos/rpg/scripts/actors/player.py	Thu May 27 17:31:28 2010 +0000
@@ -37,7 +37,7 @@
 	def onInstanceActionFinished(self, instance, action):
 		super(PlayerActionListener, self).onInstanceActionFinished(instance, action)
 		if action.getId() == 'walk':
-			print "player done walking"
+			pass
 			#self._object.completeAction()
 
 class Player(Actor):
@@ -48,6 +48,3 @@
 		self._playeractionlistener = PlayerActionListener(self._gamecontroller, self)
 		
 		self._type = GameObjectTypes["PLAYER"]
-		
-	def showQuestDialog(self):
-		self._gamecontroller.guicontroller.showQuestDialog()