Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


#Actualwarnexus

Posted 10 September 2013 - 03:16 PM

I am making a small-scale legend of zelda game.

 

I have incorporated both movement and attack functionalities inside a class Link because the character name is Link.

 

This means all the variables and methods and arraylists of the animation frames and logic are all in one class.

 

I just want to know if there are any issues doing it this way or can it be improved for the sake of better maintenance and readability or any convenience for the other programmers looking at the code in the future.


#2warnexus

Posted 10 September 2013 - 03:12 PM

I am making a small-scale legend of zelda game.

 

I have incorporated both movement and attack functionalities inside a class Link because the character name is Link.

 

This means all the variables and methods and arraylists of the animation frames and logic are all in one class.

 

I just want to know if there are any issues doing it this way or can it be improved for the sake of better maintenance and readability or any convenience for the other programmer looking at the code in the future.


#1warnexus

Posted 10 September 2013 - 03:12 PM

I am making a small-scale legend of zelda game.

 

I have incorporated both movement and attack functionalities inside a class Link because the character name is Link.

 

This means all the variables and methods and arraylists of the animation frames and logic are all in one class.

 

I just want to know if there are any issues doing it this way or can it be improved for the sake of better maintenance and readability or any conveience for the other programmer looking at the code in the future.


PARTNERS