/// <summary>
 /// Creates a new instance of <see cref="CachedObject{T}"/>.
 /// </summary>
 /// <param name="screenObject">Reference to instance of <see cref="T"/>.</param>
 public CachedObject(T screenObject)
 {
     ScreenObject  = screenObject;
     Location      = ScreenObject.GetCurrLoc();
     PolygonPoints = ScreenObject.GetPoints();
 }