Mercurial > fife-parpg
diff demos/rpg/scripts/scene.py @ 519:14f777be6b94
Added a rudimentary Action class.
author | prock@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 27 May 2010 04:36:09 +0000 |
parents | e4cd18a179af |
children | b6bd314df28a |
line wrap: on
line diff
--- a/demos/rpg/scripts/scene.py Wed May 26 21:29:46 2010 +0000 +++ b/demos/rpg/scripts/scene.py Thu May 27 04:36:09 2010 +0000 @@ -87,13 +87,13 @@ def getInstancesAt(self, clickpoint): """ - Query the main camera for instances on our actor layer. + Query the main camera for instances on the actor layer. """ return self.cameras[self._maincameraname].getMatchingInstances(clickpoint, self._actorlayer) def getLocationAt(self, clickpoint): """ - Query the main camera for the Map location (on the agent layer) + Query the main camera for the Map location (on the actor layer) that a screen point refers to. """ target_mapcoord = self._cameras[self._maincameraname].toMapCoordinates(clickpoint, False)