public LDPlayerOperation(int timing, int x, int y, LDPLayerState state) { this.Timing = timing; this.Points = new [] { new LDPoint { X = x, Y = y, State = (int)state } }; }
public LDPlayerOperation(int timing, int x, int y, LDPLayerState state) { this.Timing = timing; this.Points = new Dictionary <string, int> { { "id", 1 }, { "x", x *15 }, { "y", y *15 }, { "state", (int)state }, }; }