added sharedVariable method to share variables between functions without using globals
added sharedVariable method to share variables between functions without using globals

BlackScorpGames/webrpg,BlackScorpGames/webrpg,BlackScorp/webrpg,BlackScorp/webrpg