AppEasy Core SDK  1.5.0
Cross platform mobile and desktop app and game development SDK - The easy way to make apps
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
CzBox2dWorld Class Reference

#include <CzBox2d.h>

List of all members.

Public Member Functions

void setWorldScale (float x, float y)
CzVec2 getWorldScale ()
b2World * getWorld ()
void setVelocityIterations (int count)
int getVelocityIterations () const
void setPositionIterations (int count)
int getPositionIterations () const
void setGravity (float x, float y)
CzVec2 getGravity () const
 CzBox2dWorld ()
virtual ~CzBox2dWorld ()
virtual void InitWorld (bool doSleep=true)
virtual void UpdateWorld (float dt)
float WorldToPixelX (float x)
float WorldToPixelY (float y)
float PixelToWorldX (float x)
float PixelToWorldY (float y)

Protected Attributes

b2World * World
CzVec2 WorldScale
int VelocityIterations
int PositionIterations
CzVec2 Gravity
float TimeStep

Constructor & Destructor Documentation


Member Function Documentation

CzVec2 CzBox2dWorld::getGravity ( ) const [inline]
int CzBox2dWorld::getPositionIterations ( ) const [inline]
int CzBox2dWorld::getVelocityIterations ( ) const [inline]
b2World* CzBox2dWorld::getWorld ( ) [inline]
void CzBox2dWorld::InitWorld ( bool  doSleep = true) [virtual]
float CzBox2dWorld::PixelToWorldX ( float  x) [inline]
float CzBox2dWorld::PixelToWorldY ( float  y) [inline]
void CzBox2dWorld::setGravity ( float  x,
float  y 
)
void CzBox2dWorld::setPositionIterations ( int  count) [inline]
void CzBox2dWorld::setVelocityIterations ( int  count) [inline]
void CzBox2dWorld::setWorldScale ( float  x,
float  y 
) [inline]
void CzBox2dWorld::UpdateWorld ( float  dt) [virtual]
float CzBox2dWorld::WorldToPixelX ( float  x) [inline]
float CzBox2dWorld::WorldToPixelY ( float  y) [inline]

Member Data Documentation

float CzBox2dWorld::TimeStep [protected]
b2World* CzBox2dWorld::World [protected]

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