I'm not a java programmer either, but I see you're calling super() on
a class that doesn't derive from anything. Is there a reason for that?

On Dec 15, 12:00 am, nathan upchurch <[email protected]> wrote:
> 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.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

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