Added functions to convert direction to dx,dy and vice versa.
Added functions to convert direction to dx,dy and vice versa.

tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles,tpoikela/battles