Exemplo n.º 1
0
 public static int GetBottomEndPosition(this MovableObject movableObject, int height)
 {
     return(movableObject.GetPosition().Y + height);
 }
Exemplo n.º 2
0
 public static int GetRightEndPosition(this MovableObject movableObject, int width)
 {
     return(movableObject.GetPosition().X + width);
 }