Class BodyUserData

java.lang.Object
com.csse3200.game.physics.BodyUserData

public class BodyUserData extends 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 Details

    • entity

      public Entity entity
      The entity to which this body is attached
  • Constructor Details

    • BodyUserData

      public BodyUserData()