Mercurial > MadButterfly
annotate examples/tank/README @ 511:caa087976b17 Android_Skia
Fix the issue of segmentation fault when the pattern of a mbe is not setted.
For Skia graphic engine, a mbe does not always have a pattern. For
example, a color paint does not set a pattern on a mbe for a shape.
So, we check if pattern is setted before accessing it.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Tue, 01 Dec 2009 22:55:27 +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. |