#include "olcPixelGameEngine.h" #include "Rect.h" Rect::Rect(int x,int y,int w, int h) :x(x),y(y),w(w),h(h){} olc::vi2d Rect::GetPos(){ return {x,y}; } olc::vi2d Rect::GetSize(){ return {w,h}; }