Mercurial > MadButterfly
annotate examples/tank/README @ 1139:a2b068594412
Use pybind with new DOM API (at PYNode).
- MBScene.document is a PYDocument instead of PYSPDocument.
- MBScene.root is a PYNode isntead of PYSPItem.
- getNext() was replaced by next().
- attribute() was replaced by getAttribute().
- getID() was removed, use setAttribute() instead.
- MBScene.dom was removed, use MBScene.document.root() instead.
- MBScene.nodeToItem was removed, use PYNode.spitem instead.
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Wed, 22 Dec 2010 13:27:37 +0800 |
parents | 69e32729cd06 |
children |
rev | line source |
---|---|
166
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
1 <LEFT> Turn to left. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
2 <RIGHT> Turn to right. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
3 <UP> Turn to up. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
4 <DOWN> Turn to down. |
69e32729cd06
* Add README for game operations.
"Mat <MatLinuxer2@gmail.com>"
parents:
diff
changeset
|
5 <SPACE> To Fire. |