loadFromRect method

void loadFromRect(
  1. SdlxFRect rect
)

Implementation

void loadFromRect(SdlxFRect rect) {
  x = rect.x;
  y = rect.y;
  w = rect.w;
  h = rect.h;
}