Bottle 2D - Lua API 1.0.0
All you need to create games using bottle2D.
Public Member Functions

PhTriangle Class Reference

A physic object representing a triangle created using Group::CreatePhTriangle. More...

#include <header.hpp>

Inheritance diagram for PhTriangle:
PhysicObject Object

List of all members.

Public Member Functions

Vector2D GetPoint (number nb)
 Get the point nb of the triangle (0 <= nb < 3)
nil SetPoint (number nb, Vector2D pt)
 Set the point nb of the triangle (0 <= nb < 3)

Detailed Description

A physic object representing a triangle created using Group::CreatePhTriangle.


Member Function Documentation

Vector2D PhTriangle::GetPoint ( number  nb)

Get the point nb of the triangle (0 <= nb < 3)

nil PhTriangle::SetPoint ( number  nb,
Vector2D  pt 
)

Set the point nb of the triangle (0 <= nb < 3)


The documentation for this class was generated from the following file:
 All Classes Files Functions Variables