I am creating a simple little pong style game, so far the the code
setup is based off of the lunar lander code...that is to say the
canvas drawing is done in a seperate thread. I created a simple simple
simple class within the cavas drawing thread:

public class anim_helper{
                        private int frame;
                        private int frame_max;
                        private int fps;
                        private long time_start;

                        public anim_helper(Context context, AttributeSet attrs) 
{
                            super();
                        }

                        public boolean start_anim_timer(int nfps,int 
nframe_max){
                                return true;
                        }
                        public int getframe(){
                                return (0);
                        }
                }

But when ever i call any of these methods the game force closes before
even entering the class structure.I am sure what i am doing wrong must
be simple, i have Zero java programming experiance please help.

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en

Reply via email to