Exemple #1
0
 public override void MouseMoveDraw(int x, int y, LFVMapControler.Brick pbrk_NewBrick)
 {
     if (select)
     {
         this.Create(this.x, this.y, x, y);
     }
 }
Exemple #2
0
 public override void MouseLeftDraw(int x, int y, LFVMapControler.Brick pbrk_NewBrick)
 {
     if (select)
     {
         if (copy)
         {
             this.Paste(x, y);
         }
         else
         {
             this.Copy(this.x, this.y, x, y);
             copy = true;
         }
     }
     else
     {
         this.subMatrixIndex = this.Map.AddSubCell();
         select = true;
         this.x = x;
         this.y = y;
         this.Create(x, y, x, y);
     }
 }
Exemple #3
0
 public override void MouseRightMoveDraw(int x, int y, LFVMapControler.Brick pbrk_NewBrick)
 {
 }
Exemple #4
0
 public override void MouseRightDraw(int x, int y, LFVMapControler.Brick pbrk_NewBrick)
 {
     copy   = false;
     select = false;
     this.Map.SubCells.RemoveAt(subMatrixIndex);
 }
Exemple #5
0
 public MapCell(Brick pbrk_Brick)
 {
     this.fbrk_Brick = pbrk_Brick;
 }