Exemplo n.º 1
0
    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;
    }
Exemplo n.º 2
0
 internal AddHatOutgoingMessage(MatchPlayerHat hat, double x, double y, float velX, float velY) : base(new JsonAddHatOutgoingMessage(hat, x, y, velX, velY))
 {
 }
Exemplo n.º 3
0
 internal void AddHat(MatchPlayerHat hat) => this._Hats.Enqueue(hat);