![]() |
Dragonfly 2.2
A text-based game engine
|
Public Member Functions | |
| Vector (float init_x, float init_y) | |
| Vector () | |
| Default vector is (0,0). | |
| float | getX () |
| Get horizontal coordinate. | |
| void | setX (float new_x) |
| Set horizontal coordinate. | |
| float | getY () |
| Get vertical coordinate. | |
| void | setY (float new_y) |
| Set vertical coordinate. | |
Protected Attributes | |
| float | x |
| Horizontal coordinate in 2d world. | |
| float | y |
| Vertical coordinate in 2d world. | |
1.7.3