AppEasy Core SDK
1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
|
#include <CzBox2dMaterial.h>
Public Member Functions | |
void | setBodyType (b2BodyType type) |
b2BodyType | getBodyType () const |
void | setDensity (float density) |
float | getDensity () const |
void | setFriction (float friction) |
float | getFriction () const |
void | setRestitution (float restitution) |
float | getRestitution () const |
void | setBullet (bool bullet) |
bool | isBullet () const |
void | setFixedRotation (bool fixed) |
bool | isFixedRotation () const |
void | setGravityScale (float scale) |
float | getGravityScale () const |
CzBox2dMaterial () | |
virtual | ~CzBox2dMaterial () |
int | LoadFromXoml (IzXomlResource *parent, bool load_children, CzXmlNode *node) |
Protected Attributes | |
b2BodyType | BodyType |
float | Density |
float | Friction |
float | Restitution |
bool | Bullet |
bool | FixedRotation |
float | GravityScale |
CzBox2dMaterial::CzBox2dMaterial | ( | ) | [inline] |
virtual CzBox2dMaterial::~CzBox2dMaterial | ( | ) | [inline, virtual] |
b2BodyType CzBox2dMaterial::getBodyType | ( | ) | const [inline] |
float CzBox2dMaterial::getDensity | ( | ) | const [inline] |
float CzBox2dMaterial::getFriction | ( | ) | const [inline] |
float CzBox2dMaterial::getGravityScale | ( | ) | const [inline] |
float CzBox2dMaterial::getRestitution | ( | ) | const [inline] |
bool CzBox2dMaterial::isBullet | ( | ) | const [inline] |
bool CzBox2dMaterial::isFixedRotation | ( | ) | const [inline] |
int CzBox2dMaterial::LoadFromXoml | ( | IzXomlResource * | parent, |
bool | load_children, | ||
CzXmlNode * | node | ||
) | [virtual] |
Implements IzXomlResource.
void CzBox2dMaterial::setBodyType | ( | b2BodyType | type | ) | [inline] |
void CzBox2dMaterial::setBullet | ( | bool | bullet | ) | [inline] |
void CzBox2dMaterial::setDensity | ( | float | density | ) | [inline] |
void CzBox2dMaterial::setFixedRotation | ( | bool | fixed | ) | [inline] |
void CzBox2dMaterial::setFriction | ( | float | friction | ) | [inline] |
void CzBox2dMaterial::setGravityScale | ( | float | scale | ) | [inline] |
void CzBox2dMaterial::setRestitution | ( | float | restitution | ) | [inline] |
b2BodyType CzBox2dMaterial::BodyType [protected] |
bool CzBox2dMaterial::Bullet [protected] |
float CzBox2dMaterial::Density [protected] |
bool CzBox2dMaterial::FixedRotation [protected] |
float CzBox2dMaterial::Friction [protected] |
float CzBox2dMaterial::GravityScale [protected] |
float CzBox2dMaterial::Restitution [protected] |