private void Stopped()
        {
            Receive <PlayMovieMessage>(message => StartPlayingMovie(message.MovieTitle));

            Receive <StopMovieMessage>(
                message => ColorConsole.WriteRed("UserActor {0} Error: cannot stop if nothing is playing", _userId));

            ColorConsole.WriteYellow("UserActor {0} has now become Stopped", _userId);
        }
        private void Playing()
        {
            Receive <PlayMovieMessage>(
                message => ColorConsole.WriteRed(
                    "UserActor {0} Error: cannot start playing another movie before stopping existing one", _userId));

            Receive <StopMovieMessage>(message => StopPlayingCurrentMovie());

            ColorConsole.WriteYellow("UserActor {0} has now become Playing", _userId);
        }
 private void Stopped()
 {
     Receive <PlayMessage>(a => StartMovie(a.MovieTitle));
     Receive <StopMessage>(a => ColorConsole.WriteRed("Can't start movie!"));
     ColorConsole.WriteWithColor("User has become Stopped", ConsoleColor.Cyan);
 }
 private void Playing()
 {
     Receive <StopMessage>(a => StopMovie());
     Receive <PlayMessage>(a => ColorConsole.WriteRed("Can't stop move!"));
     ColorConsole.WriteWithColor("User has become playing", ConsoleColor.Cyan);
 }