Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
|
A physic object representing a line created using Group::CreatePhLine. More...
#include <header.hpp>
Public Member Functions | |
nil | SetVector (Vector2D vector) |
Set the line vector. | |
Vector2D | GetVector () |
Get the line vector. | |
nil | SetPt2 (Vector2D pt2) |
Set the line's second point (the first one is the position) | |
Vector2D | GetPt2 () |
Get the line's second point (the first one is the position) | |
Public Attributes | |
sf::Vecor2f | vector |
Access the line vector. | |
sf::Vecor2f | pt2 |
Access the line's second point (the first one is the position) |
A physic object representing a line created using Group::CreatePhLine.
Vector2D PhLine::GetPt2 | ( | ) |
Get the line's second point (the first one is the position)
Vector2D PhLine::GetVector | ( | ) |
Get the line vector.
nil PhLine::SetPt2 | ( | Vector2D | pt2 | ) |
Set the line's second point (the first one is the position)
nil PhLine::SetVector | ( | Vector2D | vector | ) |
Set the line vector.
sf::Vecor2f PhLine::pt2 |
Access the line's second point (the first one is the position)
sf::Vecor2f PhLine::vector |
Access the line vector.