Open sethdmay opened 3 years ago
My thinking behind making a Posn struct was so that the students wouldn't have to interact with SDL2 or any of its parts at all. I think Jesse did something similar for ge211 with ge211::dimension to just hide away all the SDL2 stuff from student code
Posn
struct isi32
but should really beu32
if it's positionAlso, the sdl2
Point
struct basically does everything we wantPosn
to do, with some extra functionality we don't have to implement