Sign in to follow this  
Missle Launch

A simple class is bugging on a convention.

Recommended Posts

http://rafb.net/paste/results/vDUuiS17.html http://img414.imageshack.us/img414/4462/sonicgen19jp.th.gif I'm told I need to supply an instance of RunningSonic as the first argument. Isn't that made automatically? How is this thing broken?

Share this post


Link to post
Share on other sites
You never made an object of class RunningSonic. You just made the class. Similarly, you can eat an apple, but you cannot eat the concept of an apple. That's what a class is: a concept of a kind of object.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this