mirror of
https://github.com/HowestDAE/dae16-VerhulstBram.git
synced 2025-12-17 07:11:48 +01:00
Update Screen system
Added FuelScreen (Working buttons) Added SellScreen (Nothing working)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "base.h"
|
||||
#include "structs.h"
|
||||
|
||||
#include <ostream>
|
||||
|
||||
//-----------------------------------------------------------------
|
||||
// Window Constructors
|
||||
//-----------------------------------------------------------------
|
||||
@@ -52,6 +54,10 @@ Point2f operator/(float right, const Point2f& left) {
|
||||
Point2f operator*(float right, const Point2f& left) {
|
||||
return Point2f{ right * left.x, right * left.y };
|
||||
}
|
||||
std::ostream& operator<<(std::ostream& os, const Point2f& p) {
|
||||
os << "Point2f( " << p.x << ", " << p.y << " )" << std::endl;
|
||||
return os;
|
||||
}
|
||||
//-----------------------------------------------------------------
|
||||
// Rectf Constructors
|
||||
//-----------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user