/// <summary>
		/// Parsuje wiadomość.
		/// </summary>
		/// <param name="msg">Wiadomość.</param>
		public PlayerHurt(Message msg)
		{
			if (msg.Type != (MessageType)GameMessageType.PlayerHurt)
			{
				throw new InvalidCastException("Cannot convert this message to PlayerHurt");
			}
			BinarySerializer s = new BinarySerializer(msg.Data);
			this.PlayerId = s.GetByte();
			this.Value = s.GetInt32();
		}