Moved enemy. Added Moverclass with move-specific things like direction and limits.
Changes directions class to easily support all 8 different directions. (left, right, up, down, left_up, left_down, right_up, right_down).
Fixed enemy imports. Moved movement from skull/baby into Mover. Not working.
Using new direction with player. Added enemy import in root.
Moved rootRef into entity.
Added all needed variables to the mover as protected vars.
added helpers isUp, isDown, isLeft, isRight to Directions.
adjusted to use direction.toString in fireball. Using new helper functions to check the direction.
damagebox does not try to hit enemies if root is null.
Removed all vars that have moved into the Mover.
removed rootRef from entities.
added static strings for the door labels. Removed rootRef.
removed baby trace.
replaced "_" with Utilities.ANIMATION_SEPERATOR for easy of access.
Removed variables from skull that are defined in Mover. Mover now moves in the direction this.direction is pointing. Diagonal movement is supported, if a matching animation is present.
Hopefully last fix for this.direction.toString instead of this.direction.
Fail. With this toString() method (instead of get Method) we don't need to write toString when using gotoAndStop/Play.
Player direction can now be all 8. Up/Down and left/right cannot be set at the same time.
Player moves according to his direction.
Fixed player not stopping movement. Added helperfunction "movementPressed" to root to check if any movementkey is pressed.