Game Develop C++ Platform: Point Class Reference

| Game Develop C++ Platform Platform for developing native games based on OpenGL and SFML with Game Develop

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Groups Pages
Public Member Functions | List of all members
Point Class Reference
Built-in Sprite Object extension

Named point used by Sprite. More...

`#include <Point.h>`

## Public Member Functions

| Point (const string &name_)
void | SetName (string name_)
string | GetName () const
void | SetXY (int x_, int y_)
void | SetX (int x_)
void | SetY (int y_)
int | GetX () const
int | GetY () const

## Detailed Description

Named point used by Sprite.

## Member Function Documentation

string Point::GetName | ( | ) |  | const

inline

Get point name

int Point::GetX | ( | ) |  | const

inline

Get point X position.

int Point::GetY | ( | ) |  | const

inline

Get point Y position.

void Point::SetName | ( | string | name_) |  |

inline

Change point name

void Point::SetX | ( | int | x_) |  |

inline

Change point X position.

void Point::SetXY | ( | int | x_,
|  | int | y_
| ) |  |

inline

Change point position.

void Point::SetY | ( | int | y_) |  |

inline

Change point Y position.

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

- Point.h
- Point.cpp