Package com.deco2800.game.physics
Class BodyUserData
java.lang.Object
com.deco2800.game.physics.BodyUserData
public class BodyUserData
extends java.lang.Object
POJO which contains the custom data attached to each box2D entity. Avoid extending if possible,
since the additional references have to be attached to every physics entity.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description BodyUserData()
-
Method Summary
-
Field Details
-
entity
The entity to which this body is attached
-
-
Constructor Details
-
BodyUserData
public BodyUserData()
-