ROLAND  0.70
Amstrad Emulator based on Caprice Source rewritten in C++.
Public Member Functions | Public Attributes | List of all members
Point Class Reference

Defines a 2D point (x, y) More...

#include <point.h>

Public Member Functions

 Point () ROLAND_DEFAULT Point(Sint16 x
 Standard Constructor. Initializes x and y to 0. More...
 
 Point (const Point &p)
 Copyconstructor. It is save to init Point with itself. More...
 
 ~Point () ROLAND_DEFAULT Point &operator
 Standard Destructor. Does nothing. More...
 

Public Attributes

Sint16 y {mX = x
 
 mY = y
 
Sint16 mY = 0
 

Detailed Description

Defines a 2D point (x, y)

Constructor & Destructor Documentation

Point ( )

Standard Constructor. Initializes x and y to 0.

Constructor.

Parameters
x= Coordinate x /param y = Coordinate y
Point ( const Point p)
inline

Copyconstructor. It is save to init Point with itself.

References Point::mY, ROLAND_DEFAULT, x, Point::y, and Point::~Point().

~Point ( )

Standard Destructor. Does nothing.

Overloaded operator =. A deep copy will done, so it's save to assign Point to itself.

Referenced by Point::Point().

Member Data Documentation

mY = y

Referenced by Point::Point().

Sint16 mY = 0
Sint16 y {mX = x

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