Zombies and Robots wrote:
> I suppose I could just set gameThread to a new GameThread()
> and try to start that, but that approach won't work because I need to
> supply the Context for the GameThread, and that isn't passed to
> surfaceCreated().

In the case of LunarLander, LunarView is a SurfaceView, which has
getContext() to return the Context for the view.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to