Character Class

Mood: Content

I took the move() subroutine out of the main file and incorporated it as part of the character class, which depends on sprite and gameobject, which in turn contains a location. The character class contains an attributes class which will be the container for HP MP etc (wow, actually RPG type things!).

So as far as what appears on the screen, nothing as changed, it’s just done from a better location.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: