Practical Tools for Simple Design
Loading...
Searching...
No Matches
Util::SDLPosition Struct Reference

A class representing a position in screen coordinates. More...

#include <Position.hpp>

Public Attributes

const int x
 
const int y
 

Detailed Description

A class representing a position in screen coordinates.

This class is used to store the X and Y coordinates of a point in a screen coordinate system where:

  • The origin (0, 0) is at the upper-left corner of the window.
  • X increases to the right.
  • Y increases downwards.

The documentation for this struct was generated from the following file: