Esempio n. 1
0
 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
                            } };
 }
Esempio n. 2
0
 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 },
     };
 }