Remove unused _parseMap method.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Merge branch 'master' of https://github.com/suicidepills/hack-n-slash-sprint
Move viewport drawing code to PlayState.

Used to reside in PlayerFactory in order to accommodate multiple
viewports.  Since we've decided to remove support for multiple viewports,
this code just made things more confusing.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Move attack code to character-factory.js.

This code used to reside in player-factory.js.  However, the
PlayerFactory should delegate drawing duties to the character object.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Clean up variable declarations.

JSHint was complaining about multiple variable definitions.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Fix mouse movement, finish removing viewport from PlayerFactory.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Fix character draw order.

Characters with a higher y coordinate should be drawn on top of those
with lower values.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Add documentation, remove unused/commented code.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Fix mouse attack drawing.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Remove moveUp/Down/Left/Right helper functions.

Signed-off-by: suicidepills <atom.mac@gmail.com>
Remove PlayerFactory.actions functions & viewport options.

Signed-off-by: suicidepills <atom.mac@gmail.com>