mjjones0 / manaonline

1 stars 0 forks source link

Player animations should be configurable instead of hardcoded #8

Open mjjones0 opened 7 years ago

mjjones0 commented 7 years ago

Currently the player's animations are all hard-coded in the constructor, whereas for a monster you can see that their animations are loaded from a file. At the very least, the player's animations should also be loaded from data.js. The character's behaviors are dependent on these animations so it can't be fully refactored yet until the relationship between the two is fleshed out completely.