You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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};
|
|
} |