efficom.runningjoe.core
Class Box2DSpriteAdapter

java.lang.Object
  extended by efficom.runningjoe.core.Box2DSpriteAdapter

public class Box2DSpriteAdapter
extends java.lang.Object


Field Summary
 java.lang.String TAG
           
 
Constructor Summary
Box2DSpriteAdapter(com.badlogic.gdx.physics.box2d.Body body)
           
Box2DSpriteAdapter(com.badlogic.gdx.physics.box2d.Body body, float width, float height)
           
 
Method Summary
 float angleDeg()
           
 float angleRad()
           
 com.badlogic.gdx.math.Vector2 centreOfRotation()
           
 com.badlogic.gdx.math.Vector2 offset()
           
 com.badlogic.gdx.math.Vector2 position()
           
 void setOffset(float x, float y)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TAG

public final java.lang.String TAG
Constructor Detail

Box2DSpriteAdapter

public Box2DSpriteAdapter(com.badlogic.gdx.physics.box2d.Body body,
                          float width,
                          float height)

Box2DSpriteAdapter

public Box2DSpriteAdapter(com.badlogic.gdx.physics.box2d.Body body)
Method Detail

position

public com.badlogic.gdx.math.Vector2 position()

angleRad

public float angleRad()

angleDeg

public float angleDeg()

centreOfRotation

public com.badlogic.gdx.math.Vector2 centreOfRotation()

offset

public com.badlogic.gdx.math.Vector2 offset()

setOffset

public void setOffset(float x,
                      float y)