public void Initialize()
        {
            strikePlayer = new StrikePlayer(GameObjects);

            currentGame = GameObjects["currentGame"] as Game;

            if (currentGame == null) throw new NullReferenceException("currentGame");

            currentStrike = currentGame.Strikes[0];

            strikeRepeatTime = 0;

            strikesRepeatTime = 0;

            if (currentGame.StrikesRepeatTimes < 1) throw new ArgumentException(string.Format("Параметр \"StrikesRepeatTimes\" игры меньше 1, игра \"{0}\"", currentGame.Title));

            if (currentStrike.RepeatTimes < 1) throw new ArgumentException(string.Format("Параметр \"RepeatTimes\" меньше 1, игра \"{0}\"", currentGame.Title));

            GameObjects["currentStrikeInfo"] = currentStrike;

            strikePlayer.Initialize();
        }
 void Start()
 {
     moving       = true;
     attacking    = false;
     strikePlayer = GetComponent <StrikePlayer>();
 }