internal JsonAddHatOutgoingMessage(MatchPlayerHat hat, double x, double y, float velX, float velY) { this.Id = hat.Id; this.Hat = hat.Hat; this.Color = hat.Color; this.X = x; this.Y = y; this.VelX = velX; this.VelY = velY; }
internal AddHatOutgoingMessage(MatchPlayerHat hat, double x, double y, float velX, float velY) : base(new JsonAddHatOutgoingMessage(hat, x, y, velX, velY)) { }
internal void AddHat(MatchPlayerHat hat) => this._Hats.Enqueue(hat);