Example #1
0
 override public void execute()
 {
     if (p != null)
     {
         if (p.IsObjectInForm(e, MAXx, MAXy) == true)
         {
             p.resize(change);
         }
     }
 }
Example #2
0
 override public void execute(CPoint x, int _MAXx, int _MAXy)
 {
     p    = x;
     MAXx = _MAXx;
     MAXy = _MAXy;
     if (p.IsObjectInForm(e, MAXx, MAXy) == true)
     {
         p.move(dx, dy);
     }
 }
Example #3
0
 override public void execute()
 {
     if (p != null)
     {
         if (p.IsObjectInForm(e, MAXx, MAXy) == true)
         {
             p.move(dx, dy);
         }
     }
 }
Example #4
0
 override public void execute(CPoint x, int _MAXx, int _MAXy)
 {
     p    = x;
     MAXx = _MAXx;
     MAXy = _MAXy;
     if (p.IsObjectInForm(e, MAXx, MAXy) == true)
     {
         p.resize(change);
     }
 }
Example #5
0
 public override bool IsObjectInForm(Keys e, int MAXx, int MAXy)
 {
     return(point.IsObjectInForm(e, MAXx, MAXy));
 }